pub enum NameTransactionError {
Covenant(CovenantError),
Transaction(TransactionError),
UnsupportedTransferSource {
kind: CovenantKind,
},
MalformedOwnerCovenant {
kind: &'static str,
},
MalformedOwnerField {
field: &'static str,
},
InvalidTransfer(&'static str),
InvalidFinalize(&'static str),
InvalidTransaction(&'static str),
InvalidSourceCoin {
operation: &'static str,
},
RepeatedNameInput {
operation: &'static str,
},
}Variants§
Covenant(CovenantError)
Transaction(TransactionError)
UnsupportedTransferSource
Fields
§
kind: CovenantKindMalformedOwnerCovenant
MalformedOwnerField
InvalidTransfer(&'static str)
InvalidFinalize(&'static str)
InvalidTransaction(&'static str)
InvalidSourceCoin
RepeatedNameInput
Trait Implementations§
Source§impl Debug for NameTransactionError
impl Debug for NameTransactionError
Source§impl Display for NameTransactionError
impl Display for NameTransactionError
Source§impl Error for NameTransactionError
impl Error for NameTransactionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<CovenantError> for NameTransactionError
impl From<CovenantError> for NameTransactionError
Source§fn from(source: CovenantError) -> Self
fn from(source: CovenantError) -> Self
Converts to this type from the input type.
Source§impl From<TransactionError> for NameTransactionError
impl From<TransactionError> for NameTransactionError
Source§fn from(source: TransactionError) -> Self
fn from(source: TransactionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NameTransactionError
impl RefUnwindSafe for NameTransactionError
impl Send for NameTransactionError
impl Sync for NameTransactionError
impl Unpin for NameTransactionError
impl UnsafeUnpin for NameTransactionError
impl UnwindSafe for NameTransactionError
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