#[non_exhaustive]pub enum Unclassified {
Unmapped,
NamedNothing,
Unbound,
Unreadable(Unreadable),
}Expand description
Why an access is unclassified.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unmapped
A root object, or every id the request names, maps to no key.
NamedNothing
The access carries no root object and the request names no id.
Unbound
The request reads a class bound to no id, so what it read is not known.
Unreadable(Unreadable)
The data could not be read for their ids, for the reason given.
Implementations§
Source§impl Unclassified
impl Unclassified
Sourcepub fn code(&self) -> &'static str
pub fn code(&self) -> &'static str
The reason as a record writes it: unmapped, named-nothing,
unbound, or the code of the Unreadable reason.
Trait Implementations§
Source§impl Clone for Unclassified
impl Clone for Unclassified
Source§impl Debug for Unclassified
impl Debug for Unclassified
impl Eq for Unclassified
Source§impl PartialEq for Unclassified
impl PartialEq for Unclassified
impl StructuralPartialEq for Unclassified
Auto Trait Implementations§
impl Freeze for Unclassified
impl RefUnwindSafe for Unclassified
impl Send for Unclassified
impl Sync for Unclassified
impl Unpin for Unclassified
impl UnsafeUnpin for Unclassified
impl UnwindSafe for Unclassified
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