pub struct NetdevOffsets {
pub name: u32,
pub net: u32,
}Expand description
Where the register_netdevice probe finds the new device’s name and
netns: net_device.name (char[IFNAMSIZ]) and net_device.nd_net.net.
Fields§
§name: u32§net: u32Implementations§
Source§impl NetdevOffsets
impl NetdevOffsets
Trait Implementations§
Source§impl Clone for NetdevOffsets
impl Clone for NetdevOffsets
Source§fn clone(&self) -> NetdevOffsets
fn clone(&self) -> NetdevOffsets
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 NetdevOffsets
impl Debug for NetdevOffsets
Source§impl PartialEq for NetdevOffsets
impl PartialEq for NetdevOffsets
impl Copy for NetdevOffsets
impl Eq for NetdevOffsets
impl StructuralPartialEq for NetdevOffsets
Auto Trait Implementations§
impl Freeze for NetdevOffsets
impl RefUnwindSafe for NetdevOffsets
impl Send for NetdevOffsets
impl Sync for NetdevOffsets
impl Unpin for NetdevOffsets
impl UnsafeUnpin for NetdevOffsets
impl UnwindSafe for NetdevOffsets
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