#[repr(u8)]pub enum ExtcodeProtectSlave0 {
ALLOWED = 0,
BLOCKED = 1,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ExtcodeProtectSlave0
impl Clone for ExtcodeProtectSlave0
Source§fn clone(&self) -> ExtcodeProtectSlave0
fn clone(&self) -> ExtcodeProtectSlave0
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<ExtcodeProtectSlave0> for u8
impl From<ExtcodeProtectSlave0> for u8
Source§fn from(val: ExtcodeProtectSlave0) -> u8
fn from(val: ExtcodeProtectSlave0) -> u8
Converts to this type from the input type.
Source§impl From<u8> for ExtcodeProtectSlave0
impl From<u8> for ExtcodeProtectSlave0
Source§fn from(val: u8) -> ExtcodeProtectSlave0
fn from(val: u8) -> ExtcodeProtectSlave0
Converts to this type from the input type.
Source§impl Ord for ExtcodeProtectSlave0
impl Ord for ExtcodeProtectSlave0
Source§fn cmp(&self, other: &ExtcodeProtectSlave0) -> Ordering
fn cmp(&self, other: &ExtcodeProtectSlave0) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExtcodeProtectSlave0
impl PartialEq for ExtcodeProtectSlave0
Source§impl PartialOrd for ExtcodeProtectSlave0
impl PartialOrd for ExtcodeProtectSlave0
impl Copy for ExtcodeProtectSlave0
impl Eq for ExtcodeProtectSlave0
impl StructuralPartialEq for ExtcodeProtectSlave0
Auto Trait Implementations§
impl Freeze for ExtcodeProtectSlave0
impl RefUnwindSafe for ExtcodeProtectSlave0
impl Send for ExtcodeProtectSlave0
impl Sync for ExtcodeProtectSlave0
impl Unpin for ExtcodeProtectSlave0
impl UnwindSafe for ExtcodeProtectSlave0
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)