pub enum Dev {
Id(u32),
Ifindex(u32),
PspVersionsCap(u32),
PspVersionsEna(u32),
}Available on crate feature
psp only.Variants§
Id(u32)
PSP device ID.
Ifindex(u32)
ifindex of the main netdevice linked to the PSP device.
PspVersionsCap(u32)
Bitmask of PSP versions supported by the device.
Associated type: Version (1 bit per enumeration)
PspVersionsEna(u32)
Bitmask of currently enabled (accepted on Rx) PSP versions.
Associated type: Version (1 bit per enumeration)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Dev
impl RefUnwindSafe for Dev
impl Send for Dev
impl Sync for Dev
impl Unpin for Dev
impl UnsafeUnpin for Dev
impl UnwindSafe for Dev
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