pub enum OperationWindowError<E: Error + 'static> {
Store(E),
IncompatibleState,
Reconciling,
InvalidExpiry,
LeaseIdentityConflict,
StaleLease,
Contended,
StaleTicket,
Workspace(WorkspaceError),
}Expand description
Operation-window failure.
Variants§
Store(E)
Durable adapter failed.
IncompatibleState
Persisted state uses an unsupported version or identity.
Reconciling
A reconciliation owner already fences new windows.
InvalidExpiry
The supplied lease lifetime is empty or already expired.
LeaseIdentityConflict
A deterministic lease identity was already bound to different inputs.
StaleLease
The supplied lease was closed, expired, or superseded by a renewal.
Contended
Optimistic-concurrency contention exceeded the bounded retry policy.
StaleTicket
Reconciliation completion used a stale ticket.
Workspace(WorkspaceError)
The core workspace reconciliation failed.
Trait Implementations§
Source§impl<E> Display for OperationWindowError<E>
impl<E> Display for OperationWindowError<E>
Source§impl<E: Error + 'static> Error for OperationWindowError<E>
impl<E: Error + 'static> Error for OperationWindowError<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()
Auto Trait Implementations§
impl<E> Freeze for OperationWindowError<E>where
E: Freeze,
impl<E> RefUnwindSafe for OperationWindowError<E>where
E: RefUnwindSafe,
impl<E> Send for OperationWindowError<E>where
E: Send,
impl<E> Sync for OperationWindowError<E>where
E: Sync,
impl<E> Unpin for OperationWindowError<E>where
E: Unpin,
impl<E> UnsafeUnpin for OperationWindowError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for OperationWindowError<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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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