pub enum Extensions {
Standard,
Custom(HashMap<String, String>),
}Expand description
Type that encapsulates the normal usage of the extensions field.
Variants§
Standard
Contains the five standard extensions: agent-forwarding, port-forwarding, pty, user-rc, X11-forwarding
Custom(HashMap<String, String>)
Allows a completely custom set of extensions to be passed in. This does not contain the standard extensions
Trait Implementations§
Source§impl Debug for Extensions
impl Debug for Extensions
Auto Trait Implementations§
impl Freeze for Extensions
impl RefUnwindSafe for Extensions
impl Send for Extensions
impl Sync for Extensions
impl Unpin for Extensions
impl UnsafeUnpin for Extensions
impl UnwindSafe for Extensions
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