pub enum BlockDateParseError {
DotMissing,
BadEpochId(ParseIntError),
BadSlotId(ParseIntError),
}
Variants§
Trait Implementations§
source§impl Clone for BlockDateParseError
impl Clone for BlockDateParseError
source§fn clone(&self) -> BlockDateParseError
fn clone(&self) -> BlockDateParseError
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 BlockDateParseError
impl Debug for BlockDateParseError
source§impl Display for BlockDateParseError
impl Display for BlockDateParseError
source§impl Error for BlockDateParseError
impl Error for BlockDateParseError
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()
source§impl PartialEq<BlockDateParseError> for BlockDateParseError
impl PartialEq<BlockDateParseError> for BlockDateParseError
source§fn eq(&self, other: &BlockDateParseError) -> bool
fn eq(&self, other: &BlockDateParseError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BlockDateParseError
impl StructuralEq for BlockDateParseError
impl StructuralPartialEq for BlockDateParseError
Auto Trait Implementations§
impl RefUnwindSafe for BlockDateParseError
impl Send for BlockDateParseError
impl Sync for BlockDateParseError
impl Unpin for BlockDateParseError
impl UnwindSafe for BlockDateParseError
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