#[repr(u32)]pub enum LinkState {
Error = 0,
Unlinked = 1,
Init = 2,
Negotiation = 3,
Allocating = 4,
Paused = 5,
Active = 6,
}Expand description
Represents the current state of a link.
Variants§
Error = 0
Link is in an error state.
Unlinked = 1
Link is unlinked.
Init = 2
Link is initialised.
Negotiation = 3
Link is negotiation formats.
Allocating = 4
Link is allocating buffers.
Paused = 5
Link is paused.
Active = 6
Link is active.
Trait Implementations§
impl Copy for LinkState
impl Eq for LinkState
impl StructuralPartialEq for LinkState
Auto Trait Implementations§
impl Freeze for LinkState
impl RefUnwindSafe for LinkState
impl Send for LinkState
impl Sync for LinkState
impl Unpin for LinkState
impl UnwindSafe for LinkState
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