pub enum MaterializationError<S: Error + 'static, B: Error + 'static> {
Store(S),
Backend(B),
PlanConflict,
IncompatibleJournal,
Contended,
ExternalMutation,
}Expand description
Materialization failure.
Variants§
Store(S)
Durable journal access failed.
Backend(B)
Host checkout access failed.
PlanConflict
A retry supplied different immutable plan input.
IncompatibleJournal
Persisted progress is malformed or uses an unsupported version.
Contended
Optimistic state contention exceeded the bounded retry policy.
ExternalMutation
Physical state no longer matches either durable endpoint.
Trait Implementations§
Source§impl<S: Debug + Error + 'static, B: Debug + Error + 'static> Debug for MaterializationError<S, B>
impl<S: Debug + Error + 'static, B: Debug + Error + 'static> Debug for MaterializationError<S, B>
Source§impl<S, B> Display for MaterializationError<S, B>
impl<S, B> Display for MaterializationError<S, B>
Source§impl<S: Error + 'static, B: Error + 'static> Error for MaterializationError<S, B>
impl<S: Error + 'static, B: Error + 'static> Error for MaterializationError<S, B>
1.30.0 · 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<MaterializationError<LocalCoreStateStoreError, NativeTreeMaterializationError>> for NativeWorkspacePublicationError
impl From<MaterializationError<LocalCoreStateStoreError, NativeTreeMaterializationError>> for NativeWorkspacePublicationError
Source§fn from(
source: MaterializationError<LocalCoreStateStoreError, NativeTreeMaterializationError>,
) -> Self
fn from( source: MaterializationError<LocalCoreStateStoreError, NativeTreeMaterializationError>, ) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<S, B> Freeze for MaterializationError<S, B>
impl<S, B> RefUnwindSafe for MaterializationError<S, B>where
S: RefUnwindSafe,
B: RefUnwindSafe,
impl<S, B> Send for MaterializationError<S, B>
impl<S, B> Sync for MaterializationError<S, B>
impl<S, B> Unpin for MaterializationError<S, B>
impl<S, B> UnsafeUnpin for MaterializationError<S, B>where
S: UnsafeUnpin,
B: UnsafeUnpin,
impl<S, B> UnwindSafe for MaterializationError<S, B>where
S: UnwindSafe,
B: 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