pub enum CheckFailureKind {
Validation,
Invocation,
Unknown {
tag: String,
payload: OpaquePayload,
},
}Variants§
Trait Implementations§
Source§impl Clone for CheckFailureKind
impl Clone for CheckFailureKind
Source§fn clone(&self) -> CheckFailureKind
fn clone(&self) -> CheckFailureKind
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 moreSource§impl ContractType for CheckFailureKind
impl ContractType for CheckFailureKind
fn encode_value(&self) -> Result<ContractValue, EncodeError>
fn decode_value(value: &ContractValue) -> Result<Self, DecodeError>
fn encode(&self) -> Result<SlotValue, EncodeError>
fn decode(slot: &SlotValue) -> Result<Self, DecodeError>
fn encode_field(&self) -> Result<Option<ContractValue>, EncodeError>
fn decode_field(field: Option<&ContractValue>) -> Result<Self, DecodeError>
Source§impl Debug for CheckFailureKind
impl Debug for CheckFailureKind
Source§impl Default for CheckFailureKind
impl Default for CheckFailureKind
Source§fn default() -> CheckFailureKind
fn default() -> CheckFailureKind
Returns the “default value” for a type. Read more
Source§impl PartialEq for CheckFailureKind
impl PartialEq for CheckFailureKind
impl StructuralPartialEq for CheckFailureKind
Auto Trait Implementations§
impl Freeze for CheckFailureKind
impl RefUnwindSafe for CheckFailureKind
impl Send for CheckFailureKind
impl Sync for CheckFailureKind
impl Unpin for CheckFailureKind
impl UnsafeUnpin for CheckFailureKind
impl UnwindSafe for CheckFailureKind
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