pub enum InvalidPrefixError {
ReservedPrefix,
}Expand description
Errors that might occur when adding a prefix to a PrefixMapping.
Variants§
ReservedPrefix
This is a reserved prefix.
The prefix "_" is reserved.
Trait Implementations§
Source§impl Clone for InvalidPrefixError
impl Clone for InvalidPrefixError
Source§fn clone(&self) -> InvalidPrefixError
fn clone(&self) -> InvalidPrefixError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InvalidPrefixError
Source§impl Debug for InvalidPrefixError
impl Debug for InvalidPrefixError
Source§impl PartialEq for InvalidPrefixError
impl PartialEq for InvalidPrefixError
Source§fn eq(&self, other: &InvalidPrefixError) -> bool
fn eq(&self, other: &InvalidPrefixError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InvalidPrefixError
Auto Trait Implementations§
impl Freeze for InvalidPrefixError
impl RefUnwindSafe for InvalidPrefixError
impl Send for InvalidPrefixError
impl Sync for InvalidPrefixError
impl Unpin for InvalidPrefixError
impl UnsafeUnpin for InvalidPrefixError
impl UnwindSafe for InvalidPrefixError
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