pub enum WorkspaceContextError<E: Error + 'static> {
Store(E),
IncompatibleState,
ConflictingRegistration,
InvalidRoots,
NonCanonicalPath,
UnauthorizedParent,
TraversalLimit,
Discarded,
RootInUse,
}Expand description
Workspace-context registration, lineage, and routing failure.
Variants§
Store(E)
The durable adapter failed.
IncompatibleState
Persisted state uses an unsupported version or mismatched identity.
ConflictingRegistration
A context already exists with different immutable lineage.
InvalidRoots
Root bindings are malformed or do not match the direct parent.
NonCanonicalPath
A host path is not absolute and lexically normalized.
Only the direct parent may publish or discard this context.
TraversalLimit
Discard traversal encountered a cycle or exceeded its safe bound.
Discarded
The context cannot be mutated in its current lifecycle state.
RootInUse
A root cannot be removed while a descendant still depends on it.
Trait Implementations§
Source§impl<E> Display for WorkspaceContextError<E>
impl<E> Display for WorkspaceContextError<E>
Source§impl<E: Error + 'static> Error for WorkspaceContextError<E>
impl<E: Error + 'static> Error for WorkspaceContextError<E>
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<E: Error + 'static> From<WorkspaceContextError<E>> for LineageMultiRootPublicationAuthorizationError<E>
impl<E: Error + 'static> From<WorkspaceContextError<E>> for LineageMultiRootPublicationAuthorizationError<E>
Source§fn from(source: WorkspaceContextError<E>) -> Self
fn from(source: WorkspaceContextError<E>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Freeze for WorkspaceContextError<E>where
E: Freeze,
impl<E> RefUnwindSafe for WorkspaceContextError<E>where
E: RefUnwindSafe,
impl<E> Send for WorkspaceContextError<E>where
E: Send,
impl<E> Sync for WorkspaceContextError<E>where
E: Sync,
impl<E> Unpin for WorkspaceContextError<E>where
E: Unpin,
impl<E> UnsafeUnpin for WorkspaceContextError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for WorkspaceContextError<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