#[non_exhaustive]#[repr(u8)]pub enum AntNetwork {
Public = 0,
Antplus = 1,
Antfs = 2,
Private = 3,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Source§impl AntNetwork
impl AntNetwork
Trait Implementations§
Source§impl Clone for AntNetwork
impl Clone for AntNetwork
Source§fn clone(&self) -> AntNetwork
fn clone(&self) -> AntNetwork
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AntNetwork
impl Debug for AntNetwork
Source§impl Hash for AntNetwork
impl Hash for AntNetwork
Source§impl PartialEq for AntNetwork
impl PartialEq for AntNetwork
Source§fn eq(&self, other: &AntNetwork) -> bool
fn eq(&self, other: &AntNetwork) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AntNetwork
impl Eq for AntNetwork
impl StructuralPartialEq for AntNetwork
Auto Trait Implementations§
impl Freeze for AntNetwork
impl RefUnwindSafe for AntNetwork
impl Send for AntNetwork
impl Sync for AntNetwork
impl Unpin for AntNetwork
impl UnsafeUnpin for AntNetwork
impl UnwindSafe for AntNetwork
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