pub enum RemoteForwardDestination {
Host {
host: String,
port: u16,
},
UnixSocket(PathBuf),
}Expand description
Describes the destination endpoint of a remote forwarding directive.
Variants§
Trait Implementations§
Source§impl Clone for RemoteForwardDestination
impl Clone for RemoteForwardDestination
Source§fn clone(&self) -> RemoteForwardDestination
fn clone(&self) -> RemoteForwardDestination
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RemoteForwardDestination
impl Debug for RemoteForwardDestination
Source§impl Display for RemoteForwardDestination
impl Display for RemoteForwardDestination
impl Eq for RemoteForwardDestination
Source§impl PartialEq for RemoteForwardDestination
impl PartialEq for RemoteForwardDestination
impl StructuralPartialEq for RemoteForwardDestination
Auto Trait Implementations§
impl Freeze for RemoteForwardDestination
impl RefUnwindSafe for RemoteForwardDestination
impl Send for RemoteForwardDestination
impl Sync for RemoteForwardDestination
impl Unpin for RemoteForwardDestination
impl UnsafeUnpin for RemoteForwardDestination
impl UnwindSafe for RemoteForwardDestination
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