pub enum WorkspaceLineageError<E: Error + 'static> {
Store(E),
Workspace(WorkspaceError),
IncompatibleState,
ConflictingRegistration,
Contended,
UnauthorizedJoin,
TraversalLimit,
}Expand description
Failure while recording or authenticating workspace lineage.
Variants§
Store(E)
The durable adapter failed.
Workspace(WorkspaceError)
The workspace operation failed.
IncompatibleState
Persisted state uses an unsupported version or mismatched identity.
ConflictingRegistration
An existing workspace is already bound to different lineage.
Contended
Optimistic registration contention exceeded the bounded retry policy.
Publication was requested by a workspace other than the direct parent.
TraversalLimit
A lineage walk encountered a cycle or exceeded the caller’s bound.
Trait Implementations§
Source§impl<E> Display for WorkspaceLineageError<E>
impl<E> Display for WorkspaceLineageError<E>
Source§impl<E: Error + 'static> Error for WorkspaceLineageError<E>
impl<E: Error + 'static> Error for WorkspaceLineageError<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()
Source§impl<E: Error + 'static> From<WorkspaceError> for WorkspaceLineageError<E>
impl<E: Error + 'static> From<WorkspaceError> for WorkspaceLineageError<E>
Source§fn from(source: WorkspaceError) -> Self
fn from(source: WorkspaceError) -> Self
Converts to this type from the input type.
Source§impl<E: Error + 'static> From<WorkspaceLineageError<E>> for GitCaptureAuthenticationError<E>
impl<E: Error + 'static> From<WorkspaceLineageError<E>> for GitCaptureAuthenticationError<E>
Source§fn from(source: WorkspaceLineageError<E>) -> Self
fn from(source: WorkspaceLineageError<E>) -> Self
Converts to this type from the input type.
Source§impl<E: Error + 'static> From<WorkspaceLineageError<E>> for LineageMultiRootPublicationAuthorizationError<E>
impl<E: Error + 'static> From<WorkspaceLineageError<E>> for LineageMultiRootPublicationAuthorizationError<E>
Source§fn from(source: WorkspaceLineageError<E>) -> Self
fn from(source: WorkspaceLineageError<E>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Freeze for WorkspaceLineageError<E>where
E: Freeze,
impl<E> RefUnwindSafe for WorkspaceLineageError<E>where
E: RefUnwindSafe,
impl<E> Send for WorkspaceLineageError<E>where
E: Send,
impl<E> Sync for WorkspaceLineageError<E>where
E: Sync,
impl<E> Unpin for WorkspaceLineageError<E>where
E: Unpin,
impl<E> UnsafeUnpin for WorkspaceLineageError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for WorkspaceLineageError<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