Struct netlink::multicast_groups::ModernGroup
source · pub struct ModernGroup(pub u32);
Expand description
A modern (non-legacy) multicast group. Interpreted as a single group.
Tuple Fields§
§0: u32
Trait Implementations§
source§impl Clone for ModernGroup
impl Clone for ModernGroup
source§fn clone(&self) -> ModernGroup
fn clone(&self) -> ModernGroup
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 Debug for ModernGroup
impl Debug for ModernGroup
source§impl Hash for ModernGroup
impl Hash for ModernGroup
source§impl Into<usize> for ModernGroup
impl Into<usize> for ModernGroup
source§impl PartialEq for ModernGroup
impl PartialEq for ModernGroup
source§fn eq(&self, other: &ModernGroup) -> bool
fn eq(&self, other: &ModernGroup) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<ModernGroup> for SingleLegacyGroup
impl TryFrom<ModernGroup> for SingleLegacyGroup
§type Error = NoMappingFromModernToLegacyGroupError
type Error = NoMappingFromModernToLegacyGroupError
The type returned in the event of a conversion error.
source§fn try_from(
ModernGroup: ModernGroup
) -> Result<SingleLegacyGroup, NoMappingFromModernToLegacyGroupError>
fn try_from( ModernGroup: ModernGroup ) -> Result<SingleLegacyGroup, NoMappingFromModernToLegacyGroupError>
Performs the conversion.
impl Copy for ModernGroup
impl Eq for ModernGroup
impl StructuralPartialEq for ModernGroup
Auto Trait Implementations§
impl Freeze for ModernGroup
impl RefUnwindSafe for ModernGroup
impl Send for ModernGroup
impl Sync for ModernGroup
impl Unpin for ModernGroup
impl UnwindSafe for ModernGroup
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
§impl<T> Encode<Ambiguous1> for T
impl<T> Encode<Ambiguous1> for T
§impl<T> Encode<Ambiguous2> for T
impl<T> Encode<Ambiguous2> for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoAny for T
impl<T> IntoAny for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.