Enum ssh_rs::error::SshErrorKind
source · pub enum SshErrorKind {
IoError(Error),
SshError(String),
SendError(String),
RecvError(String),
Timeout,
}
Variants§
Trait Implementations§
source§impl Debug for SshErrorKind
impl Debug for SshErrorKind
source§impl Display for SshErrorKind
impl Display for SshErrorKind
source§impl From<SshErrorKind> for SshError
impl From<SshErrorKind> for SshError
source§fn 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§
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