Struct PhyInitGuard Copy item path Source pub struct PhyInitGuard<'d> { }Expand description Prevents the PHY from being deinitialized.
As long as at least one PhyInitGuard exists, the PHY will remain initialized. To release this
guard, you can either let it go out of scope, or use PhyInitGuard::release to explicitly
release it.
Release the init guard.
The PHY will be disabled, if this is the last init guard.
Formats the value using the given formatter.
Read more Executes the destructor for this type.
Read more Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
[From]<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.