Enum paxakos::error::CommitError [−][src]
#[non_exhaustive]
pub enum CommitError<I: Invocation> {
Disoriented,
InvalidEntryId(LogEntryIdOf<I>),
ShutDown,
}
Expand description
Committing a log entry failed.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Node doesn’t have state.
InvalidEntryId(LogEntryIdOf<I>)
The given id could not be resolved to a log entry.
Tuple Fields of InvalidEntryId
0: LogEntryIdOf<I>
Node is shut down.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl<I> RefUnwindSafe for CommitError<I> where
<<<I as Invocation>::State as State>::LogEntry as LogEntry>::Id: RefUnwindSafe,
impl<I> Send for CommitError<I>
impl<I> Sync for CommitError<I>
impl<I> Unpin for CommitError<I>
impl<I> UnwindSafe for CommitError<I> where
<<<I as Invocation>::State as State>::LogEntry as LogEntry>::Id: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more