pub enum ConsensusDecodeError {
    Io(IoError),
    Data(ConsensusDataError),
}Variants§
Io(IoError)
Data(ConsensusDataError)
Trait Implementations§
Source§impl Clone for ConsensusDecodeError
 
impl Clone for ConsensusDecodeError
Source§fn clone(&self) -> ConsensusDecodeError
 
fn clone(&self) -> ConsensusDecodeError
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 ConsensusDecodeError
 
impl Debug for ConsensusDecodeError
Source§impl Display for ConsensusDecodeError
 
impl Display for ConsensusDecodeError
Source§impl Error for ConsensusDecodeError
 
impl Error for ConsensusDecodeError
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<ConsensusDataError> for ConsensusDecodeError
 
impl From<ConsensusDataError> for ConsensusDecodeError
Source§fn from(v: ConsensusDataError) -> ConsensusDecodeError
 
fn from(v: ConsensusDataError) -> ConsensusDecodeError
Converts to this type from the input type.
Source§impl From<ConsensusDecodeError> for BlockDataParseError
 
impl From<ConsensusDecodeError> for BlockDataParseError
Source§fn from(v: ConsensusDecodeError) -> BlockDataParseError
 
fn from(v: ConsensusDecodeError) -> BlockDataParseError
Converts to this type from the input type.
Source§impl From<Error> for ConsensusDecodeError
 
impl From<Error> for ConsensusDecodeError
Source§fn from(v: Error) -> ConsensusDecodeError
 
fn from(v: Error) -> ConsensusDecodeError
Converts to this type from the input type.
Source§impl From<Error> for ConsensusDecodeError
 
impl From<Error> for ConsensusDecodeError
Source§fn from(v: Error) -> ConsensusDecodeError
 
fn from(v: Error) -> ConsensusDecodeError
Converts to this type from the input type.
Source§impl From<InvalidLeafVer> for ConsensusDecodeError
 
impl From<InvalidLeafVer> for ConsensusDecodeError
Source§fn from(v: InvalidLeafVer) -> ConsensusDecodeError
 
fn from(v: InvalidLeafVer) -> ConsensusDecodeError
Converts to this type from the input type.
Source§impl From<IoError> for ConsensusDecodeError
 
impl From<IoError> for ConsensusDecodeError
Source§fn from(v: IoError) -> ConsensusDecodeError
 
fn from(v: IoError) -> ConsensusDecodeError
Converts to this type from the input type.
Source§impl PartialEq for ConsensusDecodeError
 
impl PartialEq for ConsensusDecodeError
impl Eq for ConsensusDecodeError
impl StructuralPartialEq for ConsensusDecodeError
Auto Trait Implementations§
impl Freeze for ConsensusDecodeError
impl !RefUnwindSafe for ConsensusDecodeError
impl Send for ConsensusDecodeError
impl Sync for ConsensusDecodeError
impl Unpin for ConsensusDecodeError
impl !UnwindSafe for ConsensusDecodeError
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<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.