Enum ckb_error::ErrorKind [−][src]
pub enum ErrorKind { OutPoint, Transaction, SubmitTransaction, Script, Header, Block, Internal, Dao, Spec, }
Expand description
A list specifying categories of ckb error.
This list is intended to grow over time and it is not recommended to exhaustively match against it.
It is used with Error
.
Variants
It indicates that the underlying error is OutPointError
.
It indicates that the underlying error is TransactionError
.
It indicates that the underlying error is Reject
.
It indicates that the underlying error is TransactionScriptError
.
It indicates that the underlying error is HeaderError
.
It indicates that the underlying error is BlockError
It indicates that the underlying error is InternalError
It indicates that the underlying error is DaoError
It indicates that the underlying error is SpecError
Implementations
Trait Implementations
impl Copy for ErrorKind
[src]
impl Eq for ErrorKind
[src]
impl StructuralEq for ErrorKind
[src]
impl StructuralPartialEq for ErrorKind
[src]
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more