pub enum DialState {
Connecting,
Mounted {
mount: String,
path: String,
service: String,
relay: String,
insecure: bool,
},
Down {
why: String,
},
Refused {
why: String,
},
Stopped,
}Expand description
Where a dialed-out service stands.
Variants§
Connecting
Not yet dialed, or dialing.
Mounted
Mounted at the relay as path (peers.<mount>). insecure
(KEEL-7): over plain ws:// beyond loopback, as
DialOut::insecure_ws allowed.
Down
The socket dropped or could not open; dialing again.
Refused
The relay refused the offer; not dialing again.
Stopped
Exposed::stopped.
Trait Implementations§
impl Eq for DialState
impl StructuralPartialEq for DialState
Auto Trait Implementations§
impl Forget for DialState
impl Freeze for DialState
impl Move for DialState
impl RefUnwindSafe for DialState
impl Send for DialState
impl Sync for DialState
impl Unpin for DialState
impl UnsafeUnpin for DialState
impl UnwindSafe for DialState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.