pub enum RlpListForm {
ShortList,
LongList,
}Expand description
Canonical RLP list form used by the decoder.
Variants§
Trait Implementations§
Source§impl Clone for RlpListForm
impl Clone for RlpListForm
Source§fn clone(&self) -> RlpListForm
fn clone(&self) -> RlpListForm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RlpListForm
Source§impl Debug for RlpListForm
impl Debug for RlpListForm
impl Eq for RlpListForm
Source§impl PartialEq for RlpListForm
impl PartialEq for RlpListForm
Source§fn eq(&self, other: &RlpListForm) -> bool
fn eq(&self, other: &RlpListForm) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RlpListForm
Auto Trait Implementations§
impl Freeze for RlpListForm
impl RefUnwindSafe for RlpListForm
impl Send for RlpListForm
impl Sync for RlpListForm
impl Unpin for RlpListForm
impl UnsafeUnpin for RlpListForm
impl UnwindSafe for RlpListForm
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