pub enum BlockError {
QueueFull,
DeviceNotReady,
IoError,
InvalidSector,
RequestTooLarge,
ReadOnly,
Unsupported,
Timeout,
DeviceError,
}Expand description
Block I/O error types.
Variants§
QueueFull
Request queue is full.
DeviceNotReady
Device not ready.
IoError
I/O error from device.
InvalidSector
Invalid sector number.
RequestTooLarge
Request too large.
ReadOnly
Device is read-only.
Unsupported
Unsupported operation.
Timeout
Operation timed out.
DeviceError
Device reported an error.
Trait Implementations§
Source§impl Clone for BlockError
impl Clone for BlockError
Source§fn clone(&self) -> BlockError
fn clone(&self) -> BlockError
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 BlockError
impl Debug for BlockError
Source§impl From<BlockError> for DiskWriterError
impl From<BlockError> for DiskWriterError
Source§fn from(e: BlockError) -> Self
fn from(e: BlockError) -> Self
Converts to this type from the input type.
Source§impl From<BlockError> for OrchestratorError
impl From<BlockError> for OrchestratorError
Source§fn from(e: BlockError) -> Self
fn from(e: BlockError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BlockError
impl PartialEq for BlockError
impl Copy for BlockError
impl Eq for BlockError
impl StructuralPartialEq for BlockError
Auto Trait Implementations§
impl Freeze for BlockError
impl RefUnwindSafe for BlockError
impl Send for BlockError
impl Sync for BlockError
impl Unpin for BlockError
impl UnwindSafe for BlockError
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