pub trait PhyWithSpeed<MIIM>: Phy<MIIM>where
MIIM: Miim,{
// Required method
fn get_link_speed(&mut self) -> Option<AdvancedPhySpeed>;
}
Expand description
A PHY that also supports determining the link speed and duplex mode it is currently operating at.
Required Methods§
Sourcefn get_link_speed(&mut self) -> Option<AdvancedPhySpeed>
fn get_link_speed(&mut self) -> Option<AdvancedPhySpeed>
Get the link speed at which this PHY is currently operating.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.