pub enum ReceiptStatusOrStateRoot {
Failure,
Success,
StateRoot(B256),
}Expand description
Receipt status code or pre-Byzantium state root.
Variants§
Failure
Transaction failed.
Success
Transaction succeeded.
StateRoot(B256)
Pre-Byzantium intermediate state root.
Trait Implementations§
Source§impl Clone for ReceiptStatusOrStateRoot
impl Clone for ReceiptStatusOrStateRoot
Source§fn clone(&self) -> ReceiptStatusOrStateRoot
fn clone(&self) -> ReceiptStatusOrStateRoot
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 ReceiptStatusOrStateRoot
Source§impl Debug for ReceiptStatusOrStateRoot
impl Debug for ReceiptStatusOrStateRoot
impl Eq for ReceiptStatusOrStateRoot
Source§impl PartialEq for ReceiptStatusOrStateRoot
impl PartialEq for ReceiptStatusOrStateRoot
Source§fn eq(&self, other: &ReceiptStatusOrStateRoot) -> bool
fn eq(&self, other: &ReceiptStatusOrStateRoot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReceiptStatusOrStateRoot
Auto Trait Implementations§
impl Freeze for ReceiptStatusOrStateRoot
impl RefUnwindSafe for ReceiptStatusOrStateRoot
impl Send for ReceiptStatusOrStateRoot
impl Sync for ReceiptStatusOrStateRoot
impl Unpin for ReceiptStatusOrStateRoot
impl UnsafeUnpin for ReceiptStatusOrStateRoot
impl UnwindSafe for ReceiptStatusOrStateRoot
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