pub enum StartupError {
JormungandrNotLaunched(ProcessError),
FsFixture(FixtureError),
LegacyConfig(LegacyConfigError),
Timeout {
timeout: u64,
log_content: String,
},
JormungandrError(JormungandrError),
EntryNotFoundInLogs {
entry: String,
log_content: String,
},
TooManyAttempts,
InvalidBlock0Hash(Error),
ProcessExited(ExitStatus),
CannotGetRestStatus(RestError),
StartParamsNotDefined,
Params(Error),
}
Variants§
JormungandrNotLaunched(ProcessError)
FsFixture(FixtureError)
LegacyConfig(LegacyConfigError)
Timeout
JormungandrError(JormungandrError)
EntryNotFoundInLogs
TooManyAttempts
InvalidBlock0Hash(Error)
ProcessExited(ExitStatus)
CannotGetRestStatus(RestError)
StartParamsNotDefined
Params(Error)
Trait Implementations§
source§impl Debug for StartupError
impl Debug for StartupError
source§impl Display for StartupError
impl Display for StartupError
source§impl Error for StartupError
impl Error for StartupError
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<Error> for StartupError
impl From<Error> for StartupError
source§fn from(source: LegacyConfigError) -> Self
fn from(source: LegacyConfigError) -> Self
Converts to this type from the input type.
source§impl From<Error> for StartupError
impl From<Error> for StartupError
source§impl From<Error> for StartupError
impl From<Error> for StartupError
source§impl From<FixtureError> for StartupError
impl From<FixtureError> for StartupError
source§impl From<JormungandrError> for StartupError
impl From<JormungandrError> for StartupError
source§fn from(source: JormungandrError) -> Self
fn from(source: JormungandrError) -> Self
Converts to this type from the input type.
source§impl From<ProcessError> for StartupError
impl From<ProcessError> for StartupError
Auto Trait Implementations§
impl !RefUnwindSafe for StartupError
impl Send for StartupError
impl Sync for StartupError
impl Unpin for StartupError
impl !UnwindSafe for StartupError
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