pub enum AnnotationError {
EmptyKey,
InvalidKey,
InvalidValue,
}Expand description
Errors returned when annotation text is invalid.
Variants§
Trait Implementations§
Source§impl Clone for AnnotationError
impl Clone for AnnotationError
Source§fn clone(&self) -> AnnotationError
fn clone(&self) -> AnnotationError
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 AnnotationError
impl Debug for AnnotationError
Source§impl Display for AnnotationError
impl Display for AnnotationError
Source§impl Error for AnnotationError
impl Error for AnnotationError
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 AnnotationError
impl PartialEq for AnnotationError
Source§fn eq(&self, other: &AnnotationError) -> bool
fn eq(&self, other: &AnnotationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AnnotationError
impl Eq for AnnotationError
impl StructuralPartialEq for AnnotationError
Auto Trait Implementations§
impl Freeze for AnnotationError
impl RefUnwindSafe for AnnotationError
impl Send for AnnotationError
impl Sync for AnnotationError
impl Unpin for AnnotationError
impl UnsafeUnpin for AnnotationError
impl UnwindSafe for AnnotationError
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