Enum openssh::ForwardType
source · pub enum ForwardType {
Local,
Remote,
}
Expand description
Type of forwarding
Variants§
Local
Forward requests to a port on the local machine to remote machine.
Remote
Forward requests to a port on the remote machine to local machine.
Trait Implementations§
source§impl Clone for ForwardType
impl Clone for ForwardType
source§fn clone(&self) -> ForwardType
fn clone(&self) -> ForwardType
Returns a copy 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 moresource§impl Debug for ForwardType
impl Debug for ForwardType
source§impl From<ForwardType> for ForwardType
impl From<ForwardType> for ForwardType
source§fn from(fwd_type: ForwardType) -> Self
fn from(fwd_type: ForwardType) -> Self
Converts to this type from the input type.
source§impl PartialEq for ForwardType
impl PartialEq for ForwardType
impl Copy for ForwardType
impl Eq for ForwardType
impl StructuralPartialEq for ForwardType
Auto Trait Implementations§
impl Freeze for ForwardType
impl RefUnwindSafe for ForwardType
impl Send for ForwardType
impl Sync for ForwardType
impl Unpin for ForwardType
impl UnwindSafe for ForwardType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)