pub enum DacConnectionState {
Connected {
name: String,
},
Lost {
name: String,
error: Option<String>,
},
}Expand description
Connection state for a single DAC device.
Variants§
Connected
Successfully connected and ready to receive frames.
Lost
Connection was lost, waiting for reconnect.
Trait Implementations§
Source§impl Clone for DacConnectionState
impl Clone for DacConnectionState
Source§fn clone(&self) -> DacConnectionState
fn clone(&self) -> DacConnectionState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DacConnectionState
impl Debug for DacConnectionState
Source§impl Hash for DacConnectionState
impl Hash for DacConnectionState
Source§impl PartialEq for DacConnectionState
impl PartialEq for DacConnectionState
impl Eq for DacConnectionState
impl StructuralPartialEq for DacConnectionState
Auto Trait Implementations§
impl Freeze for DacConnectionState
impl RefUnwindSafe for DacConnectionState
impl Send for DacConnectionState
impl Sync for DacConnectionState
impl Unpin for DacConnectionState
impl UnwindSafe for DacConnectionState
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