Struct sp_inherents::MakeFatalError [−][src]
pub struct MakeFatalError<E: Encode>(_);
Auxiliary to make any given error resolve to is_fatal_error() == true
.
Trait Implementations
impl<E: Encode> IsFatalError for MakeFatalError<E>
[src]
impl<E: Encode> IsFatalError for MakeFatalError<E>
[src]fn is_fatal_error(&self) -> bool
[src]
impl<E: Encode> EncodeLike<MakeFatalError<E>> for MakeFatalError<E> where
E: Encode,
E: Encode,
[src]
E: Encode,
E: Encode,
Auto Trait Implementations
impl<E> RefUnwindSafe for MakeFatalError<E> where
E: RefUnwindSafe,
E: RefUnwindSafe,
impl<E> Send for MakeFatalError<E> where
E: Send,
E: Send,
impl<E> Sync for MakeFatalError<E> where
E: Sync,
E: Sync,
impl<E> Unpin for MakeFatalError<E> where
E: Unpin,
E: Unpin,
impl<E> UnwindSafe for MakeFatalError<E> where
E: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
impl<'_, '_, T> EncodeLike<&'_ &'_ T> for T where
T: Encode,
[src]
T: Encode,
impl<'_, T> EncodeLike<&'_ T> for T where
T: Encode,
[src]
T: Encode,
impl<'_, T> EncodeLike<&'_ mut T> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Arc<T>> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Box<T, Global>> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Rc<T>> for T where
T: Encode,
[src]
T: Encode,
impl<S> FullEncode for S where
S: Encode + EncodeLike<S>,
[src]
S: Encode + EncodeLike<S>,