pub unsafe trait PHY {
    // Required methods
    fn phy_reset<S: StationManagement>(&mut self, sm: &mut S);
    fn phy_init<S: StationManagement>(&mut self, sm: &mut S);
    fn poll_link<S: StationManagement>(
        &mut self,
        sm: &mut S,
        cx: &mut Context<'_>,
    ) -> bool;
}Expand description
Required Methods§
Sourcefn phy_reset<S: StationManagement>(&mut self, sm: &mut S)
 
fn phy_reset<S: StationManagement>(&mut self, sm: &mut S)
Reset PHY and wait for it to come out of reset.
Sourcefn phy_init<S: StationManagement>(&mut self, sm: &mut S)
 
fn phy_init<S: StationManagement>(&mut self, sm: &mut S)
PHY initialisation.
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.