pub enum EthFrameError {
NotEnoughBytes {
provided_size: usize,
expected_size: usize,
},
}
Variants§
Trait Implementations§
Source§impl Clone for EthFrameError
impl Clone for EthFrameError
Source§fn clone(&self) -> EthFrameError
fn clone(&self) -> EthFrameError
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 EthFrameError
impl Debug for EthFrameError
Source§impl Display for EthFrameError
impl Display for EthFrameError
Source§impl Error for EthFrameError
impl Error for EthFrameError
Source§impl ErrorCompat for EthFrameError
impl ErrorCompat for EthFrameError
Source§fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to
Error::source
. Read moreSource§impl From<EthFrameError> for NetpackError
impl From<EthFrameError> for NetpackError
Source§fn from(val: EthFrameError) -> Self
fn from(val: EthFrameError) -> Self
Converts to this type from the input type.
Source§impl Hash for EthFrameError
impl Hash for EthFrameError
Source§impl PartialEq for EthFrameError
impl PartialEq for EthFrameError
impl Eq for EthFrameError
impl StructuralPartialEq for EthFrameError
Auto Trait Implementations§
impl Freeze for EthFrameError
impl RefUnwindSafe for EthFrameError
impl Send for EthFrameError
impl Sync for EthFrameError
impl Unpin for EthFrameError
impl UnwindSafe for EthFrameError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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