Enum blockchain::block0::Block0Error
source · pub enum Block0Error {
CannotParseEntity(Error),
Malformed(Block0Malformed),
}
Variants§
CannotParseEntity(Error)
Malformed(Block0Malformed)
Trait Implementations§
source§impl Debug for Block0Error
impl Debug for Block0Error
source§impl Display for Block0Error
impl Display for Block0Error
source§impl Error for Block0Error
impl Error for Block0Error
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 From<Block0Error> for EpochInfoError
impl From<Block0Error> for EpochInfoError
source§fn from(source: Block0Error) -> Self
fn from(source: Block0Error) -> Self
Converts to this type from the input type.
source§impl From<Block0Malformed> for Block0Error
impl From<Block0Malformed> for Block0Error
source§fn from(source: Block0Malformed) -> Self
fn from(source: Block0Malformed) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for Block0Error
impl Send for Block0Error
impl Sync for Block0Error
impl Unpin for Block0Error
impl UnwindSafe for Block0Error
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