pub enum McastGroupAttrs<'a> {
Name(&'a CStr),
Id(u32),
}Available on crate feature
nlctrl only.Variants§
Implementations§
Source§impl<'a> McastGroupAttrs<'a>
impl<'a> McastGroupAttrs<'a>
pub fn new_array(buf: &[u8]) -> IterableArrayMcastGroupAttrs<'_> ⓘ
Source§impl McastGroupAttrs<'_>
impl McastGroupAttrs<'_>
pub fn new<'a>(buf: &'a [u8]) -> IterableMcastGroupAttrs<'a> ⓘ
Trait Implementations§
Source§impl<'a> Clone for McastGroupAttrs<'a>
impl<'a> Clone for McastGroupAttrs<'a>
Source§fn clone(&self) -> McastGroupAttrs<'a>
fn clone(&self) -> McastGroupAttrs<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for McastGroupAttrs<'a>
impl<'a> RefUnwindSafe for McastGroupAttrs<'a>
impl<'a> Send for McastGroupAttrs<'a>
impl<'a> Sync for McastGroupAttrs<'a>
impl<'a> Unpin for McastGroupAttrs<'a>
impl<'a> UnsafeUnpin for McastGroupAttrs<'a>
impl<'a> UnwindSafe for McastGroupAttrs<'a>
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