pub enum VolumeError {
Io,
InvalidHeader,
PrimaryNotFound,
}Available on crate feature
async only.Expand description
Errors that can occur when parsing volume descriptors
Variants§
Io
I/O error occurred
InvalidHeader
Invalid volume descriptor header (missing CD001 signature)
PrimaryNotFound
Primary volume descriptor not found
Trait Implementations§
Source§impl Clone for VolumeError
impl Clone for VolumeError
impl Copy for VolumeError
Source§impl Debug for VolumeError
impl Debug for VolumeError
Source§impl Display for VolumeError
impl Display for VolumeError
impl Eq for VolumeError
Source§impl Error for VolumeError
Available on crate feature std only.
impl Error for VolumeError
Available on crate feature
std only.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()
Source§impl PartialEq for VolumeError
impl PartialEq for VolumeError
impl StructuralPartialEq for VolumeError
Auto Trait Implementations§
impl Freeze for VolumeError
impl RefUnwindSafe for VolumeError
impl Send for VolumeError
impl Sync for VolumeError
impl Unpin for VolumeError
impl UnsafeUnpin for VolumeError
impl UnwindSafe for VolumeError
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