[][src]Struct ckb_error::InternalError

pub struct InternalError { /* fields omitted */ }

/// TODO(doc): @keroro520

Implementations

impl InternalError[src]

pub fn kind(&self) -> InternalErrorKind[src]

Returns the general category of this error.

pub fn downcast_ref<E>(&self) -> Option<&E> where
    E: Display + Debug + Send + Sync + 'static, 
[src]

Downcast this error object by reference.

pub fn root_cause(&self) -> &(dyn Error + 'static)[src]

The lowest level cause of this error — this error's cause's cause's cause etc.

pub fn cause(&self) -> Option<&(dyn Error + 'static)>[src]

The lower-level source of this error, if any.

Trait Implementations

impl Clone for InternalError[src]

impl Debug for InternalError[src]

impl Display for InternalError[src]

impl Error for InternalError[src]

impl From<Error> for InternalError[src]

impl From<InternalError> for Error[src]

impl From<InternalErrorKind> for InternalError[src]

impl From<OtherError> for InternalError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.