pub struct UnrecognizedEnumerationError<'a> {
pub value: &'a str,
}Expand description
An enumerated string provided to a parsed tag was not recognized.
Fields§
§value: &'a strThe unrecognized value that was found.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for UnrecognizedEnumerationError<'a>
impl<'a> Clone for UnrecognizedEnumerationError<'a>
Source§fn clone(&self) -> UnrecognizedEnumerationError<'a>
fn clone(&self) -> UnrecognizedEnumerationError<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for UnrecognizedEnumerationError<'a>
impl<'a> Debug for UnrecognizedEnumerationError<'a>
Source§impl<'a> Display for UnrecognizedEnumerationError<'a>
impl<'a> Display for UnrecognizedEnumerationError<'a>
Source§impl Error for UnrecognizedEnumerationError<'_>
impl Error for UnrecognizedEnumerationError<'_>
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<'a> PartialEq for UnrecognizedEnumerationError<'a>
impl<'a> PartialEq for UnrecognizedEnumerationError<'a>
Source§fn eq(&self, other: &UnrecognizedEnumerationError<'a>) -> bool
fn eq(&self, other: &UnrecognizedEnumerationError<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for UnrecognizedEnumerationError<'a>
Auto Trait Implementations§
impl<'a> Freeze for UnrecognizedEnumerationError<'a>
impl<'a> RefUnwindSafe for UnrecognizedEnumerationError<'a>
impl<'a> Send for UnrecognizedEnumerationError<'a>
impl<'a> Sync for UnrecognizedEnumerationError<'a>
impl<'a> Unpin for UnrecognizedEnumerationError<'a>
impl<'a> UnsafeUnpin for UnrecognizedEnumerationError<'a>
impl<'a> UnwindSafe for UnrecognizedEnumerationError<'a>
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