Enum ssh_rs::error::SshErrorKind
source · pub enum SshErrorKind {
IoError(Error),
SshError(String),
SendError(String),
RecvError(String),
Timeout,
}
Variants
IoError(Error)
SshError(String)
SendError(String)
RecvError(String)
Timeout
Trait Implementations
sourceimpl Debug for SshErrorKind
impl Debug for SshErrorKind
sourceimpl Display for SshErrorKind
impl Display for SshErrorKind
sourceimpl From<SshErrorKind> for SshError
impl From<SshErrorKind> for SshError
sourcefn from(kind: SshErrorKind) -> SshError
fn from(kind: SshErrorKind) -> SshError
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for SshErrorKind
impl Send for SshErrorKind
impl Sync for SshErrorKind
impl Unpin for SshErrorKind
impl !UnwindSafe for SshErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more