pub enum BlockIoError {
DriverError(BlockError),
Timeout,
BufferAlignment,
InvalidOperation,
}Expand description
Error type for BlockIo operations.
Variants§
DriverError(BlockError)
Underlying block driver error
Timeout
Request timeout
BufferAlignment
Buffer alignment error
InvalidOperation
Invalid operation
Trait Implementations§
Source§impl Clone for BlockIoError
impl Clone for BlockIoError
Source§fn clone(&self) -> BlockIoError
fn clone(&self) -> BlockIoError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlockIoError
impl Debug for BlockIoError
Source§impl Display for BlockIoError
impl Display for BlockIoError
impl Copy for BlockIoError
Auto Trait Implementations§
impl Freeze for BlockIoError
impl RefUnwindSafe for BlockIoError
impl Send for BlockIoError
impl Sync for BlockIoError
impl Unpin for BlockIoError
impl UnwindSafe for BlockIoError
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