pub enum LinkinfoNetkitAttrs<'a> {
PeerInfo(&'a [u8]),
Primary(u8),
Policy(u32),
PeerPolicy(u32),
Mode(u32),
Scrub(u32),
PeerScrub(u32),
Headroom(u16),
Tailroom(u16),
Pairing(u32),
}Available on crate feature
rt-link only.Variants§
PeerInfo(&'a [u8])
Primary(u8)
Policy(u32)
Associated type: NetkitPolicy (enum)
PeerPolicy(u32)
Associated type: NetkitPolicy (enum)
Mode(u32)
Associated type: NetkitMode (enum)
Scrub(u32)
Associated type: NetkitScrub (enum)
PeerScrub(u32)
Associated type: NetkitScrub (enum)
Headroom(u16)
Tailroom(u16)
Pairing(u32)
Associated type: NetkitPairing (enum)
Implementations§
Source§impl LinkinfoNetkitAttrs<'_>
impl LinkinfoNetkitAttrs<'_>
pub fn new<'a>(buf: &'a [u8]) -> IterableLinkinfoNetkitAttrs<'a> ⓘ
Trait Implementations§
Source§impl<'a> Clone for LinkinfoNetkitAttrs<'a>
impl<'a> Clone for LinkinfoNetkitAttrs<'a>
Source§fn clone(&self) -> LinkinfoNetkitAttrs<'a>
fn clone(&self) -> LinkinfoNetkitAttrs<'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 LinkinfoNetkitAttrs<'a>
impl<'a> RefUnwindSafe for LinkinfoNetkitAttrs<'a>
impl<'a> Send for LinkinfoNetkitAttrs<'a>
impl<'a> Sync for LinkinfoNetkitAttrs<'a>
impl<'a> Unpin for LinkinfoNetkitAttrs<'a>
impl<'a> UnsafeUnpin for LinkinfoNetkitAttrs<'a>
impl<'a> UnwindSafe for LinkinfoNetkitAttrs<'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