pub enum SshOrSftpError {
Ssh(SshError),
Sftp(SftpError),
}Available on crate feature
sftp only.Expand description
Variants§
Trait Implementations§
Source§impl Debug for SshOrSftpError
impl Debug for SshOrSftpError
Source§impl Display for SshOrSftpError
impl Display for SshOrSftpError
Source§impl Error for SshOrSftpError
impl Error for SshOrSftpError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for SshOrSftpError
impl From<Error> for SshOrSftpError
Auto Trait Implementations§
impl Freeze for SshOrSftpError
impl !RefUnwindSafe for SshOrSftpError
impl Send for SshOrSftpError
impl Sync for SshOrSftpError
impl Unpin for SshOrSftpError
impl !UnwindSafe for SshOrSftpError
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