pub enum Capability {
AuthExternal,
AuthKeyboardInteractive,
AuthPlain,
ChannelCommand,
Channel9P,
ChannelSFTP,
ChannelClipboard,
ExtensionAllocate,
StoreCredential,
ContextTemplate,
Other(Bytes, Option<Bytes>),
}Variants§
AuthExternal
AuthKeyboardInteractive
AuthPlain
ChannelCommand
Channel9P
ChannelSFTP
ChannelClipboard
ExtensionAllocate
StoreCredential
ContextTemplate
Other(Bytes, Option<Bytes>)
Implementations§
Source§impl Capability
impl Capability
pub fn implemented() -> BTreeSet<Capability>
pub fn is_implemented(&self) -> bool
Trait Implementations§
Source§impl Clone for Capability
impl Clone for Capability
Source§fn clone(&self) -> Capability
fn clone(&self) -> Capability
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 moreSource§impl Debug for Capability
impl Debug for Capability
Source§impl Hash for Capability
impl Hash for Capability
Source§impl Ord for Capability
impl Ord for Capability
Source§fn cmp(&self, other: &Capability) -> Ordering
fn cmp(&self, other: &Capability) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Capability
impl PartialEq for Capability
Source§impl PartialOrd for Capability
impl PartialOrd for Capability
impl Eq for Capability
impl StructuralPartialEq for Capability
Auto Trait Implementations§
impl !Freeze for Capability
impl RefUnwindSafe for Capability
impl Send for Capability
impl Sync for Capability
impl Unpin for Capability
impl UnwindSafe for Capability
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