pub enum ParseCheckpointError {
MissingField {
field_name: &'static str,
},
MalformedField {
field_name: &'static str,
},
UnexpectedExtensions,
NoSignatures,
MalformedSignature {
index: usize,
},
}Variants§
Trait Implementations§
Source§impl Clone for ParseCheckpointError
impl Clone for ParseCheckpointError
Source§fn clone(&self) -> ParseCheckpointError
fn clone(&self) -> ParseCheckpointError
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 ParseCheckpointError
impl Debug for ParseCheckpointError
Source§impl Display for ParseCheckpointError
impl Display for ParseCheckpointError
impl Eq for ParseCheckpointError
Source§impl Error for ParseCheckpointError
impl Error for ParseCheckpointError
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 ParseCheckpointError
impl PartialEq for ParseCheckpointError
Source§fn eq(&self, other: &ParseCheckpointError) -> bool
fn eq(&self, other: &ParseCheckpointError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParseCheckpointError
Auto Trait Implementations§
impl Freeze for ParseCheckpointError
impl RefUnwindSafe for ParseCheckpointError
impl Send for ParseCheckpointError
impl Sync for ParseCheckpointError
impl Unpin for ParseCheckpointError
impl UnsafeUnpin for ParseCheckpointError
impl UnwindSafe for ParseCheckpointError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more