Enum primitives::receipt::TransactionStatus
source · #[repr(u8)]pub enum TransactionStatus {
Success = 0,
Failure = 1,
Skipped = 2,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for TransactionStatus
impl Clone for TransactionStatus
source§fn clone(&self) -> TransactionStatus
fn clone(&self) -> TransactionStatus
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 TransactionStatus
impl Debug for TransactionStatus
source§impl Decodable for TransactionStatus
impl Decodable for TransactionStatus
source§impl Default for TransactionStatus
impl Default for TransactionStatus
source§impl Encodable for TransactionStatus
impl Encodable for TransactionStatus
source§impl PartialEq for TransactionStatus
impl PartialEq for TransactionStatus
source§fn eq(&self, other: &TransactionStatus) -> bool
fn eq(&self, other: &TransactionStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TransactionStatus
impl Eq for TransactionStatus
impl StructuralPartialEq for TransactionStatus
Auto Trait Implementations§
impl RefUnwindSafe for TransactionStatus
impl Send for TransactionStatus
impl Sync for TransactionStatus
impl Unpin for TransactionStatus
impl UnwindSafe for TransactionStatus
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