pub enum NetworkScope {
Swarm,
Global,
Local,
}Variants§
Trait Implementations§
Source§impl Clone for NetworkScope
impl Clone for NetworkScope
Source§fn clone(&self) -> NetworkScope
fn clone(&self) -> NetworkScope
Returns a duplicate 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 Debug for NetworkScope
impl Debug for NetworkScope
Source§impl<'de> Deserialize<'de> for NetworkScope
impl<'de> Deserialize<'de> for NetworkScope
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for NetworkScope
impl Ord for NetworkScope
Source§fn cmp(&self, other: &NetworkScope) -> Ordering
fn cmp(&self, other: &NetworkScope) -> 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 NetworkScope
impl PartialEq for NetworkScope
Source§impl PartialOrd for NetworkScope
impl PartialOrd for NetworkScope
Source§impl Serialize for NetworkScope
impl Serialize for NetworkScope
impl Eq for NetworkScope
impl StructuralPartialEq for NetworkScope
Auto Trait Implementations§
impl Freeze for NetworkScope
impl RefUnwindSafe for NetworkScope
impl Send for NetworkScope
impl Sync for NetworkScope
impl Unpin for NetworkScope
impl UnwindSafe for NetworkScope
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