pub enum Link {
Reaching,
Up,
Down(String),
}Expand description
How the socket itself is doing, apart from whether a human has
approved this device yet – see Onboarding for that half.
Variants§
Reaching
Listening for a server, or connecting to one already found.
Up
Connected.
Down(String)
Not connected, and why.
Trait Implementations§
impl Eq for Link
impl StructuralPartialEq for Link
Auto Trait Implementations§
impl Freeze for Link
impl RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnsafeUnpin for Link
impl UnwindSafe for Link
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