pub enum TopologyError {
Authority(LeaseError),
Catalog(CatalogManifestError),
Invalid(String),
Conflict(String),
Fenced,
Protocol(String),
Contended,
ReadTimedOut,
Unsupported(String),
PlanningBusy,
PlanningTimedOut,
}Expand description
Typed, stable control-path failures. No error authorizes a topology or state fallback.
Variants§
Authority(LeaseError)
Shared authority I/O or validation failed.
Catalog(CatalogManifestError)
Catalog content failed validation.
Invalid(String)
Malformed proposal, durable state or exhausted identity domain.
Conflict(String)
Expected parent/reference/deployment does not match durable authority.
Fenced
Supplied leader proof is stale.
Protocol(String)
A required protocol/storage capability is not available.
Contended
The bounded CAS/deadline budget was exhausted; authoritative status must be reread.
ReadTimedOut
A status read exceeded its control-path deadline.
Unsupported(String)
A candidate requires an unsupported semantic transformation or execution contract.
PlanningBusy
Another bounded local candidate compilation owns this process’s planning slot.
PlanningTimedOut
Local validation exceeded its bounded control-path budget without admitting an operation.
Implementations§
Trait Implementations§
Source§impl Debug for TopologyError
impl Debug for TopologyError
Source§impl Display for TopologyError
impl Display for TopologyError
Source§impl Error for TopologyError
impl Error for TopologyError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<CatalogManifestError> for TopologyError
impl From<CatalogManifestError> for TopologyError
Source§fn from(error: CatalogManifestError) -> Self
fn from(error: CatalogManifestError) -> Self
Source§impl From<LeaseError> for TopologyError
impl From<LeaseError> for TopologyError
Source§fn from(source: LeaseError) -> Self
fn from(source: LeaseError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for TopologyError
impl !UnwindSafe for TopologyError
impl Freeze for TopologyError
impl Send for TopologyError
impl Sync for TopologyError
impl Unpin for TopologyError
impl UnsafeUnpin for TopologyError
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2where
T: SharedNiching<N1, N2>,
N1: Niching<T>,
N2: Niching<T>,
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2where
T: SharedNiching<N1, N2>,
N1: Niching<T>,
N2: Niching<T>,
§impl<T> Pointee for T
impl<T> Pointee for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.