pub struct TunnelOptions {
pub ssh_user: Option<String>,
pub ssh_addr: Addr,
pub ssh_port: Option<Port>,
pub host_addr: Addr,
pub host_port: Port,
}Fields§
§ssh_user: Option<String>§ssh_addr: Addr§ssh_port: Option<Port>§host_addr: Addr§host_port: PortTrait Implementations§
Source§impl Clone for TunnelOptions
impl Clone for TunnelOptions
Source§fn clone(&self) -> TunnelOptions
fn clone(&self) -> TunnelOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TunnelOptions
impl RefUnwindSafe for TunnelOptions
impl Send for TunnelOptions
impl Sync for TunnelOptions
impl Unpin for TunnelOptions
impl UnwindSafe for TunnelOptions
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