pub enum DriverError<E>where
E: Error,{
Pipeline(PipelineErrorKind),
Executor(E),
FromBlock(FromBlockError),
Rlp(Error),
}Expand description
Driver error.
Variants§
Pipeline(PipelineErrorKind)
Pipeline error.
Executor(E)
An error returned by the executor.
FromBlock(FromBlockError)
An error returned by the conversion from a block to an maili_protocol::L2BlockInfo.
Rlp(Error)
Error decoding or encoding RLP.
Trait Implementations§
Source§impl<E> Debug for DriverError<E>
impl<E> Debug for DriverError<E>
Source§impl<E> Display for DriverError<E>
impl<E> Display for DriverError<E>
Source§impl<E> Error for DriverError<E>
impl<E> Error for DriverError<E>
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<E> From<FromBlockError> for DriverError<E>where
E: Error,
impl<E> From<FromBlockError> for DriverError<E>where
E: Error,
Source§fn from(source: FromBlockError) -> Self
fn from(source: FromBlockError) -> Self
Converts to this type from the input type.
Source§impl<E> From<PipelineErrorKind> for DriverError<E>where
E: Error,
impl<E> From<PipelineErrorKind> for DriverError<E>where
E: Error,
Source§fn from(source: PipelineErrorKind) -> Self
fn from(source: PipelineErrorKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> !Freeze for DriverError<E>
impl<E> RefUnwindSafe for DriverError<E>where
E: RefUnwindSafe,
impl<E> Send for DriverError<E>where
E: Send,
impl<E> Sync for DriverError<E>where
E: Sync,
impl<E> Unpin for DriverError<E>where
E: Unpin,
impl<E> UnwindSafe for DriverError<E>where
E: UnwindSafe,
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