pub enum Error<E> {
Read(Error<E>),
InvalidIdentity,
Unknown,
Conflict,
Changed,
UnknownEntry,
}Expand description
Detection failed; no implicit encoding is selected.
Variants§
Read(Error<E>)
A required read failed or was short.
InvalidIdentity
INQUIRY is not a complete optical-drive identity with a revision.
Unknown
No positive receiver signature was readable in the supported range.
Conflict
More than one receiver location or encoding matched.
Changed
Identity or receiver bytes changed after detection.
UnknownEntry
The running receiver’s entry grammar is unreadable or unrecognized.
Trait Implementations§
Source§impl<E> CodedError for Error<E>
Available on crate feature drive only.
impl<E> CodedError for Error<E>
Available on crate feature
drive only.Source§impl<E: Debug + 'static> Error for Error<E>
Available on crate feature std only.
impl<E: Debug + 'static> Error for Error<E>
Available on crate feature
std only.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<E> Freeze for Error<E>
impl<E> RefUnwindSafe for Error<E>where
Error<E>: RefUnwindSafe,
impl<E> Send for Error<E>
impl<E> Sync for Error<E>
impl<E> Unpin for Error<E>
impl<E> UnsafeUnpin for Error<E>where
Error<E>: UnsafeUnpin,
impl<E> UnwindSafe for Error<E>where
Error<E>: UnwindSafe,
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