pub enum DiskResolveError {
ResolveInner(ResolveError),
NewDisk(NewDiskError),
InvalidDisk(InvalidDisk),
}
Expand description
An error that occurred while resolving a DiskCryptHandle
.
Variants§
ResolveInner(ResolveError)
Failed to resolve the inner disk.
NewDisk(NewDiskError)
Failed to create the disk.
InvalidDisk(InvalidDisk)
The disk is invalid.
Trait Implementations§
Source§impl Debug for DiskResolveError
impl Debug for DiskResolveError
Source§impl Display for DiskResolveError
impl Display for DiskResolveError
Source§impl Error for DiskResolveError
impl Error for DiskResolveError
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()
Auto Trait Implementations§
impl Freeze for DiskResolveError
impl !RefUnwindSafe for DiskResolveError
impl Send for DiskResolveError
impl Sync for DiskResolveError
impl Unpin for DiskResolveError
impl !UnwindSafe for DiskResolveError
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