pub enum FIPSParserError {
InvalidDigit {
found: char,
},
InvalidLength {
expected: u32,
found: u32,
},
ValueExceedsCapacity {
value: u64,
capacity: u64,
},
}Expand description
The FIPS parser error type. The assumption is that the parsing context is so small that it isn’t necessary to track source location information.
Variants§
Trait Implementations§
Source§impl Clone for FIPSParserError
impl Clone for FIPSParserError
Source§fn clone(&self) -> FIPSParserError
fn clone(&self) -> FIPSParserError
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 FIPSParserError
Source§impl Debug for FIPSParserError
impl Debug for FIPSParserError
Source§impl Display for FIPSParserError
impl Display for FIPSParserError
impl Eq for FIPSParserError
Source§impl Error for FIPSParserError
impl Error for FIPSParserError
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 FIPSParserError
impl PartialEq for FIPSParserError
Source§fn eq(&self, other: &FIPSParserError) -> bool
fn eq(&self, other: &FIPSParserError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FIPSParserError
Auto Trait Implementations§
impl Freeze for FIPSParserError
impl RefUnwindSafe for FIPSParserError
impl Send for FIPSParserError
impl Sync for FIPSParserError
impl Unpin for FIPSParserError
impl UnsafeUnpin for FIPSParserError
impl UnwindSafe for FIPSParserError
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