Struct kernel::net::phy::DriverVTable
source · #[repr(transparent)]pub struct DriverVTable(/* private fields */);
Expand description
Driver structure for a particular PHY type.
Wraps the kernel’s struct phy_driver
.
This is used to register a driver for a particular PHY type with the kernel.
Invariants
self.0
is always in a valid state.
Trait Implementations§
impl Sync for DriverVTable
Auto Trait Implementations§
impl !RefUnwindSafe for DriverVTable
impl !Send for DriverVTable
impl !Unpin for DriverVTable
impl UnwindSafe for DriverVTable
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