pub enum TunnelState {
Open,
Closed,
Died,
}Expand description
The state of a single tunnel opened by the server.
Variants§
Open
The tunnel is currently opene.
Closed
The tunnel was opened but then was manually closed.
Died
The tunnel was opened but died unexpectedly.
This may be due to something like a connection drop or the user killing the associated SSH process outside of the server’s knowledge.
Trait Implementations§
Source§impl Debug for TunnelState
impl Debug for TunnelState
Source§impl<'de> Deserialize<'de> for TunnelState
impl<'de> Deserialize<'de> for TunnelState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TunnelState
impl PartialEq for TunnelState
Source§impl Serialize for TunnelState
impl Serialize for TunnelState
impl StructuralPartialEq for TunnelState
Auto Trait Implementations§
impl Freeze for TunnelState
impl RefUnwindSafe for TunnelState
impl Send for TunnelState
impl Sync for TunnelState
impl Unpin for TunnelState
impl UnwindSafe for TunnelState
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