pub struct GenericPhy<SM: StationManagement> { /* private fields */ }Expand description
Generic SMI Ethernet PHY implementation
Implementations§
Source§impl<SM: StationManagement> GenericPhy<SM>
impl<SM: StationManagement> GenericPhy<SM>
Source§impl<SM: StationManagement> GenericPhy<SM>
Public functions for the PHY
impl<SM: StationManagement> GenericPhy<SM>
Public functions for the PHY
Sourcepub fn set_poll_interval(&mut self, poll_interval: Duration)
pub fn set_poll_interval(&mut self, poll_interval: Duration)
Set the SMI polling interval.
Sourcepub fn station_management(&mut self) -> &mut SM
pub fn station_management(&mut self) -> &mut SM
Access the underlying station management.
Trait Implementations§
Auto Trait Implementations§
impl<SM> Freeze for GenericPhy<SM>where
SM: Freeze,
impl<SM> RefUnwindSafe for GenericPhy<SM>where
SM: RefUnwindSafe,
impl<SM> Send for GenericPhy<SM>where
SM: Send,
impl<SM> Sync for GenericPhy<SM>where
SM: Sync,
impl<SM> Unpin for GenericPhy<SM>where
SM: Unpin,
impl<SM> UnwindSafe for GenericPhy<SM>where
SM: UnwindSafe,
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