Struct ethers::utils::rlp::PayloadInfo [−]
Expand description
Stores basic information about item
Fields
header_len: usize
Header length in bytes
value_len: usize
Value length in bytes
Implementations
impl PayloadInfo
impl PayloadInfo
pub fn from(header_bytes: &[u8]) -> Result<PayloadInfo, DecoderError>
pub fn from(header_bytes: &[u8]) -> Result<PayloadInfo, DecoderError>
Create a new object from the given bytes RLP. The bytes
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PayloadInfo
impl Send for PayloadInfo
impl Sync for PayloadInfo
impl Unpin for PayloadInfo
impl UnwindSafe for PayloadInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more