pub struct TunnelInformation {
pub host: String,
pub state: TunnelState,
}Expand description
Information about a single tunnel opened by the server.
Fields§
§host: StringThe hostname associated with the connection.
state: TunnelStateThe current state of the SSH tunnel.
Trait Implementations§
Source§impl Debug for TunnelInformation
impl Debug for TunnelInformation
Source§impl<'de> Deserialize<'de> for TunnelInformation
impl<'de> Deserialize<'de> for TunnelInformation
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 TunnelInformation
impl PartialEq for TunnelInformation
Source§impl Serialize for TunnelInformation
impl Serialize for TunnelInformation
impl StructuralPartialEq for TunnelInformation
Auto Trait Implementations§
impl Freeze for TunnelInformation
impl RefUnwindSafe for TunnelInformation
impl Send for TunnelInformation
impl Sync for TunnelInformation
impl Unpin for TunnelInformation
impl UnwindSafe for TunnelInformation
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