pub enum UnmappedStatus {
Unconfigured,
Disabled,
OtherKindOnly,
}Expand description
Why a mapping gives no name for one category and one kind.
Variants§
Unconfigured
The mapping does not mention the category at all.
Disabled
The mapping sets the category to null, disabling it for every kind.
OtherKindOnly
The mapping names the category for the other kind only.
Implementations§
Source§impl UnmappedStatus
impl UnmappedStatus
Sourcepub fn refusal(
self,
source: &SourceName,
category: StatusCategory,
kind: ItemKind,
) -> SourceError
pub fn refusal( self, source: &SourceName, category: StatusCategory, kind: ItemKind, ) -> SourceError
The refusal of a status write source has no name for: naming the source, the kind,
the category, why, and the key to set.
Trait Implementations§
Source§impl Clone for UnmappedStatus
impl Clone for UnmappedStatus
impl Copy for UnmappedStatus
Source§impl Debug for UnmappedStatus
impl Debug for UnmappedStatus
impl Eq for UnmappedStatus
Source§impl PartialEq for UnmappedStatus
impl PartialEq for UnmappedStatus
impl StructuralPartialEq for UnmappedStatus
Auto Trait Implementations§
impl Freeze for UnmappedStatus
impl RefUnwindSafe for UnmappedStatus
impl Send for UnmappedStatus
impl Sync for UnmappedStatus
impl Unpin for UnmappedStatus
impl UnsafeUnpin for UnmappedStatus
impl UnwindSafe for UnmappedStatus
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