pub enum PayloadView<'a> {
String(&'a [u8]),
List(Vec<&'a [u8]>),
}
Expand description
Structured representation of an RLP payload.
Variants§
String(&'a [u8])
Payload is a byte string.
List(Vec<&'a [u8]>)
Payload is a list of RLP encoded data.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PayloadView<'a>
impl<'a> RefUnwindSafe for PayloadView<'a>
impl<'a> Send for PayloadView<'a>
impl<'a> Sync for PayloadView<'a>
impl<'a> Unpin for PayloadView<'a>
impl<'a> UnwindSafe for PayloadView<'a>
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