pub enum LmsDeserializeError {
NoAlgorithm,
WrongAlgorithm,
TooShort,
TooLong,
InvalidQ,
}
Expand description
The error returned by TryFrom<&[u8]>
impls
Variants§
NoAlgorithm
Length of the slice was < 4
and no algorithm can be parsed
WrongAlgorithm
The parsed algorithm does not match the requested deserialization
TooShort
The slice did not contain enough data
TooLong
The slice contained too much data
InvalidQ
The parsed q
value was too large
Trait Implementations§
Source§impl Clone for LmsDeserializeError
impl Clone for LmsDeserializeError
Source§fn clone(&self) -> LmsDeserializeError
fn clone(&self) -> LmsDeserializeError
Returns a copy 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 Debug for LmsDeserializeError
impl Debug for LmsDeserializeError
Source§impl PartialEq for LmsDeserializeError
impl PartialEq for LmsDeserializeError
impl Copy for LmsDeserializeError
impl Eq for LmsDeserializeError
impl StructuralPartialEq for LmsDeserializeError
Auto Trait Implementations§
impl Freeze for LmsDeserializeError
impl RefUnwindSafe for LmsDeserializeError
impl Send for LmsDeserializeError
impl Sync for LmsDeserializeError
impl Unpin for LmsDeserializeError
impl UnwindSafe for LmsDeserializeError
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