pub enum ManifestStoreError {
Conflict,
AlreadyExists,
Unavailable(String),
Backend(String),
}Expand description
Why a register operation did not produce a new state.
Variants§
Conflict
The register changed since the witnessed version; re-read and decide again.
AlreadyExists
A concurrent creator initialized the register first; re-read.
Transient backend trouble; the operation may be retried as-is.
Backend(String)
Terminal backend failure.
Trait Implementations§
Source§impl Clone for ManifestStoreError
impl Clone for ManifestStoreError
Source§fn clone(&self) -> ManifestStoreError
fn clone(&self) -> ManifestStoreError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ManifestStoreError
impl Debug for ManifestStoreError
Source§impl Display for ManifestStoreError
impl Display for ManifestStoreError
Source§impl Error for ManifestStoreError
impl Error for ManifestStoreError
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<ManifestStoreError> for Error
impl From<ManifestStoreError> for Error
Source§fn from(source: ManifestStoreError) -> Self
fn from(source: ManifestStoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ManifestStoreError
impl RefUnwindSafe for ManifestStoreError
impl Send for ManifestStoreError
impl Sync for ManifestStoreError
impl Unpin for ManifestStoreError
impl UnsafeUnpin for ManifestStoreError
impl UnwindSafe for ManifestStoreError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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