pub enum ClassificationError {
UncoveredSource(SourceId),
UnknownObject(ObjectId),
Unreadable(String),
}Expand description
Failure to list an object’s classifications conclusively.
Variants§
UncoveredSource(SourceId)
The service does not cover this source.
UnknownObject(ObjectId)
The object is not part of the source.
Unreadable(String)
The source’s classification data is malformed or cannot be read exactly.
Trait Implementations§
Source§impl Clone for ClassificationError
impl Clone for ClassificationError
Source§impl Debug for ClassificationError
impl Debug for ClassificationError
Source§impl Display for ClassificationError
impl Display for ClassificationError
impl Eq for ClassificationError
Source§impl Error for ClassificationError
impl Error for ClassificationError
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 ClassificationError
impl PartialEq for ClassificationError
impl StructuralPartialEq for ClassificationError
Auto Trait Implementations§
impl Freeze for ClassificationError
impl RefUnwindSafe for ClassificationError
impl Send for ClassificationError
impl Sync for ClassificationError
impl Unpin for ClassificationError
impl UnsafeUnpin for ClassificationError
impl UnwindSafe for ClassificationError
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