pub enum AnnotationKeyError {
Empty,
}Expand description
Error returned by annotation key constructors.
Variants§
Empty
The supplied key was empty after trimming surrounding whitespace.
Trait Implementations§
Source§impl Clone for AnnotationKeyError
impl Clone for AnnotationKeyError
Source§fn clone(&self) -> AnnotationKeyError
fn clone(&self) -> AnnotationKeyError
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 moreSource§impl Debug for AnnotationKeyError
impl Debug for AnnotationKeyError
Source§impl Display for AnnotationKeyError
impl Display for AnnotationKeyError
Source§impl Error for AnnotationKeyError
impl Error for AnnotationKeyError
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 AnnotationKeyError
impl PartialEq for AnnotationKeyError
Source§fn eq(&self, other: &AnnotationKeyError) -> bool
fn eq(&self, other: &AnnotationKeyError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AnnotationKeyError
impl Eq for AnnotationKeyError
impl StructuralPartialEq for AnnotationKeyError
Auto Trait Implementations§
impl Freeze for AnnotationKeyError
impl RefUnwindSafe for AnnotationKeyError
impl Send for AnnotationKeyError
impl Sync for AnnotationKeyError
impl Unpin for AnnotationKeyError
impl UnsafeUnpin for AnnotationKeyError
impl UnwindSafe for AnnotationKeyError
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