Struct stund_protocol::TunnelInformation
source · pub struct TunnelInformation {
pub host: String,
pub state: TunnelState,
}
Expand description
Information about a single tunnel opened by the server.
Fields
host: String
The hostname associated with the connection.
state: TunnelState
The current state of the SSH tunnel.
Trait Implementations
sourceimpl Debug for TunnelInformation
impl Debug for TunnelInformation
sourceimpl<'de> Deserialize<'de> for TunnelInformation
impl<'de> Deserialize<'de> for TunnelInformation
sourcefn 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
sourceimpl PartialEq<TunnelInformation> for TunnelInformation
impl PartialEq<TunnelInformation> for TunnelInformation
sourcefn eq(&self, other: &TunnelInformation) -> bool
fn eq(&self, other: &TunnelInformation) -> bool
sourceimpl Serialize for TunnelInformation
impl Serialize for TunnelInformation
impl StructuralPartialEq for TunnelInformation
Auto Trait Implementations
impl RefUnwindSafe for TunnelInformation
impl Send for TunnelInformation
impl Sync for TunnelInformation
impl Unpin for TunnelInformation
impl UnwindSafe for TunnelInformation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more