[−][src]Struct ckb_verification::HeaderError
Implementations
impl HeaderError
[src]
pub fn kind(&self) -> &HeaderErrorKind
[src]
pub fn downcast_ref<T: Fail>(&self) -> Option<&T>
[src]
pub fn inner(&self) -> &Context<HeaderErrorKind>
[src]
pub fn is_too_new(&self) -> bool
[src]
Trait Implementations
impl Debug for HeaderError
[src]
impl Display for HeaderError
[src]
impl Fail for HeaderError
[src]
fn cause(&self) -> Option<&dyn Fail>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn name(&self) -> Option<&str>
[src]
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
D: Display + Send + Sync + 'static,
fn compat(self) -> Compat<Self>
[src]
impl From<BlockVersionError> for HeaderError
[src]
fn from(error: BlockVersionError) -> Self
[src]
impl From<Context<HeaderErrorKind>> for HeaderError
[src]
fn from(kind: Context<HeaderErrorKind>) -> Self
[src]
impl From<EpochError> for HeaderError
[src]
fn from(error: EpochError) -> Self
[src]
impl From<HeaderError> for Error
[src]
fn from(error: HeaderError) -> Self
[src]
impl From<HeaderErrorKind> for HeaderError
[src]
fn from(kind: HeaderErrorKind) -> Self
[src]
impl From<InvalidParentError> for HeaderError
[src]
fn from(error: InvalidParentError) -> Self
[src]
impl From<NumberError> for HeaderError
[src]
fn from(error: NumberError) -> Self
[src]
impl From<PowError> for HeaderError
[src]
impl From<TimestampError> for HeaderError
[src]
fn from(error: TimestampError) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for HeaderError
impl Send for HeaderError
impl Sync for HeaderError
impl Unpin for HeaderError
impl !UnwindSafe for HeaderError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsAny for T where
T: Any,
[src]
T: Any,
impl<T> AsFail for T where
T: Fail,
[src]
T: Fail,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Erased for T
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
[src]
E: 'static + Error + Send + Sync,
fn name(&self) -> Option<&str>
[src]
fn cause(&self) -> Option<&(dyn Fail + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
D: Display + Send + Sync + 'static,
fn compat(self) -> Compat<Self>
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,