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