Enum mjolnir::mjolnir_lib::error::MjolnirError
source · pub enum MjolnirError {
RestError(RestError),
StartupError(StartupError),
JormungandrError(JormungandrError),
InternalClientError,
PaceTooLow(u64),
Block0Error(Block0Error),
}
Variants§
RestError(RestError)
StartupError(StartupError)
JormungandrError(JormungandrError)
InternalClientError
PaceTooLow(u64)
Block0Error(Block0Error)
Trait Implementations§
source§impl Debug for MjolnirError
impl Debug for MjolnirError
source§impl Display for MjolnirError
impl Display for MjolnirError
source§impl Error for MjolnirError
impl Error for MjolnirError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<Block0Error> for MjolnirError
impl From<Block0Error> for MjolnirError
source§fn from(source: Block0Error) -> Self
fn from(source: Block0Error) -> Self
Converts to this type from the input type.
source§impl From<JormungandrError> for MjolnirError
impl From<JormungandrError> for MjolnirError
source§fn from(source: JormungandrError) -> Self
fn from(source: JormungandrError) -> Self
Converts to this type from the input type.
source§impl From<MjolnirError> for ClientLoadCommandError
impl From<MjolnirError> for ClientLoadCommandError
source§fn from(source: MjolnirError) -> Self
fn from(source: MjolnirError) -> Self
Converts to this type from the input type.
source§impl From<MjolnirError> for ExplorerLoadCommandError
impl From<MjolnirError> for ExplorerLoadCommandError
source§fn from(source: MjolnirError) -> Self
fn from(source: MjolnirError) -> Self
Converts to this type from the input type.
source§impl From<MjolnirError> for FragmentLoadCommandError
impl From<MjolnirError> for FragmentLoadCommandError
source§fn from(source: MjolnirError) -> Self
fn from(source: MjolnirError) -> Self
Converts to this type from the input type.
source§impl From<MjolnirError> for RestLoadCommandError
impl From<MjolnirError> for RestLoadCommandError
source§fn from(source: MjolnirError) -> Self
fn from(source: MjolnirError) -> Self
Converts to this type from the input type.
source§impl From<RestError> for MjolnirError
impl From<RestError> for MjolnirError
source§impl From<StartupError> for MjolnirError
impl From<StartupError> for MjolnirError
source§fn from(source: StartupError) -> Self
fn from(source: StartupError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for MjolnirError
impl Send for MjolnirError
impl Sync for MjolnirError
impl Unpin for MjolnirError
impl !UnwindSafe for MjolnirError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request