pub enum BlkError {
NotSupported,
Retry,
NoMemory,
InvalidBlockIndex(u64),
InvalidRequest,
Io,
Other(&'static str),
}Variants§
Trait Implementations§
impl Copy for BlkError
impl Eq for BlkError
Source§impl Error for BlkError
impl Error for BlkError
1.30.0 · 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()
impl StructuralPartialEq for BlkError
Auto Trait Implementations§
impl Freeze for BlkError
impl RefUnwindSafe for BlkError
impl Send for BlkError
impl Sync for BlkError
impl Unpin for BlkError
impl UnsafeUnpin for BlkError
impl UnwindSafe for BlkError
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