pub enum ConnectStatus {
Unknown,
Connected,
Disconnected,
}Expand description
The connect / signal-detect state reported for a bay.
Variants§
Unknown
The device has not reported a connect state.
Connected
Something is attached.
Disconnected
Nothing is attached.
Trait Implementations§
Source§impl Clone for ConnectStatus
impl Clone for ConnectStatus
Source§fn clone(&self) -> ConnectStatus
fn clone(&self) -> ConnectStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ConnectStatus
Source§impl Debug for ConnectStatus
impl Debug for ConnectStatus
Source§impl Default for ConnectStatus
impl Default for ConnectStatus
Source§fn default() -> ConnectStatus
fn default() -> ConnectStatus
Returns the “default value” for a type. Read more
Source§impl Display for ConnectStatus
impl Display for ConnectStatus
impl Eq for ConnectStatus
Source§impl Hash for ConnectStatus
impl Hash for ConnectStatus
Source§impl Ord for ConnectStatus
impl Ord for ConnectStatus
Source§fn cmp(&self, other: &ConnectStatus) -> Ordering
fn cmp(&self, other: &ConnectStatus) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ConnectStatus
impl PartialEq for ConnectStatus
Source§impl PartialOrd for ConnectStatus
impl PartialOrd for ConnectStatus
impl StructuralPartialEq for ConnectStatus
Auto Trait Implementations§
impl Freeze for ConnectStatus
impl RefUnwindSafe for ConnectStatus
impl Send for ConnectStatus
impl Sync for ConnectStatus
impl Unpin for ConnectStatus
impl UnsafeUnpin for ConnectStatus
impl UnwindSafe for ConnectStatus
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