#[non_exhaustive]pub enum LinkMode {
Default,
Dormant,
Testing,
Other(u8),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Default
Dormant
limit upward transition to dormant
Testing
limit upward transition to testing
Other(u8)
Trait Implementations§
impl Copy for LinkMode
impl Eq for LinkMode
impl StructuralPartialEq for LinkMode
Auto Trait Implementations§
impl Freeze for LinkMode
impl RefUnwindSafe for LinkMode
impl Send for LinkMode
impl Sync for LinkMode
impl Unpin for LinkMode
impl UnwindSafe for LinkMode
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