pub enum SshId {
Standard(String),
Raw(String),
}
Expand description
The SSH client/server identification string.
Variants§
Standard(String)
When sending the id, append RFC standard \r\n
. Example: SshId::Standard("SSH-2.0-acme")
Raw(String)
When sending the id, use this buffer as it is and do not append additional line terminators.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SshId
impl RefUnwindSafe for SshId
impl Send for SshId
impl Sync for SshId
impl Unpin for SshId
impl UnwindSafe for SshId
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