pub enum ZfsError {
Exec {
io: Error,
},
Process {
cmd_info: CmdInfo,
},
NoDataset {
dataset: String,
cmd_info: CmdInfo,
},
CannotOpen {
cmd_info: CmdInfo,
},
CannotResumeSendDoesNotExist {
dataset: String,
cmd_info: CmdInfo,
},
CannotResumeSend {
cmd_info: CmdInfo,
},
CannotRecvFailedToRead {
cmd_info: CmdInfo,
},
CannotRecvNewFs {
cmd_info: CmdInfo,
},
}
Variants§
Exec
Process
NoDataset
CannotOpen
CannotResumeSendDoesNotExist
CannotResumeSend
CannotRecvFailedToRead
CannotRecvNewFs
Trait Implementations§
Source§impl Fail for ZfsError
impl Fail for ZfsError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreAuto Trait Implementations§
impl Freeze for ZfsError
impl !RefUnwindSafe for ZfsError
impl Send for ZfsError
impl Sync for ZfsError
impl Unpin for ZfsError
impl !UnwindSafe for ZfsError
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