pub enum BlockMetaStoreError {
IncorrectPreviousBlock,
Encode,
Decode,
Io(String),
}Variants§
Trait Implementations§
Source§impl Clone for BlockMetaStoreError
impl Clone for BlockMetaStoreError
Source§fn clone(&self) -> BlockMetaStoreError
fn clone(&self) -> BlockMetaStoreError
Returns a duplicate 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 BlockMetaStoreError
impl Debug for BlockMetaStoreError
Source§impl Display for BlockMetaStoreError
impl Display for BlockMetaStoreError
Source§impl Error for BlockMetaStoreError
impl Error for BlockMetaStoreError
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 From<BlockMetaStoreError> for PeerError
impl From<BlockMetaStoreError> for PeerError
Source§fn from(source: BlockMetaStoreError) -> Self
fn from(source: BlockMetaStoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BlockMetaStoreError
impl RefUnwindSafe for BlockMetaStoreError
impl Send for BlockMetaStoreError
impl Sync for BlockMetaStoreError
impl Unpin for BlockMetaStoreError
impl UnwindSafe for BlockMetaStoreError
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