Enum wycheproof::WycheproofError
source · pub enum WycheproofError {
NoDataSet,
InvalidData,
ParsingFailed(Box<dyn Error>),
}
Expand description
The error type
Variants§
NoDataSet
Named data set was not found
InvalidData
The JSON parsed but was found to be invalid somehow
ParsingFailed(Box<dyn Error>)
The JSON parsing failed
Trait Implementations§
source§impl Debug for WycheproofError
impl Debug for WycheproofError
source§impl Display for WycheproofError
impl Display for WycheproofError
source§impl Error for WycheproofError
impl Error for WycheproofError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl !RefUnwindSafe for WycheproofError
impl !Send for WycheproofError
impl !Sync for WycheproofError
impl Unpin for WycheproofError
impl !UnwindSafe for WycheproofError
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