pub enum BootError {
EventStore(EventStoreError),
RunStartedSubmit(String),
RunStartedTimeout {
timeout: Duration,
},
HaltedDuringBoot(HaltReason),
}Expand description
Errors surfaced by the boot path.
Variants§
EventStore(EventStoreError)
The event store backend rejected an open, scan, or seal during recovery or new-run creation.
RunStartedSubmit(String)
The writer rejected the RunStarted submit.
RunStartedTimeout
The writer accepted RunStarted but did not durably commit it inside the
configured timeout.
Fields
HaltedDuringBoot(HaltReason)
The writer signaled fail-stop while the boot path was waiting for the
RunStarted entry to commit.
Trait Implementations§
Source§impl Error for BootError
impl Error for BootError
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 From<BootError> for KernelError
impl From<BootError> for KernelError
Source§impl From<EventStoreError> for BootError
impl From<EventStoreError> for BootError
Source§fn from(source: EventStoreError) -> Self
fn from(source: EventStoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BootError
impl RefUnwindSafe for BootError
impl Send for BootError
impl Sync for BootError
impl Unpin for BootError
impl UnsafeUnpin for BootError
impl UnwindSafe for BootError
Blanket Implementations§
impl<T> Allocation for T
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more