pub enum ObjectStoreResultClass {
Ok,
NotFound,
InvalidKey,
InvalidContentRef,
InvalidRange,
PreconditionFailed,
PermissionDenied,
Unsupported,
Transport,
OtherError,
}Expand description
Collapses object-store outcomes into a bounded metrics vocabulary.
Variants§
Ok
Indicates the operation returned its requested value or mutation result.
NotFound
Indicates an optional read observed absence or an explicit lookup returned not found.
InvalidKey
Indicates key or prefix validation failed before provider IO.
InvalidContentRef
Indicates a content reference could not resolve to an immutable key.
InvalidRange
Indicates requested byte-range bounds were invalid for the object.
PreconditionFailed
Indicates a create-if-absent or compare-and-swap condition did not hold.
PermissionDenied
Indicates the provider rejected identity or authorization.
Unsupported
Indicates the configured store lacks a required capability.
Transport
Indicates configuration, IO, timeout, protocol, or provider transport failure.
OtherError
Reserves a forward-compatible bucket for errors outside the current registry.
Implementations§
Trait Implementations§
Source§impl Clone for ObjectStoreResultClass
impl Clone for ObjectStoreResultClass
Source§fn clone(&self) -> ObjectStoreResultClass
fn clone(&self) -> ObjectStoreResultClass
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ObjectStoreResultClass
Source§impl Debug for ObjectStoreResultClass
impl Debug for ObjectStoreResultClass
Source§impl<'de> Deserialize<'de> for ObjectStoreResultClass
impl<'de> Deserialize<'de> for ObjectStoreResultClass
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for ObjectStoreResultClass
Source§impl PartialEq for ObjectStoreResultClass
impl PartialEq for ObjectStoreResultClass
Source§impl Serialize for ObjectStoreResultClass
impl Serialize for ObjectStoreResultClass
impl StructuralPartialEq for ObjectStoreResultClass
Auto Trait Implementations§
impl Freeze for ObjectStoreResultClass
impl RefUnwindSafe for ObjectStoreResultClass
impl Send for ObjectStoreResultClass
impl Sync for ObjectStoreResultClass
impl Unpin for ObjectStoreResultClass
impl UnsafeUnpin for ObjectStoreResultClass
impl UnwindSafe for ObjectStoreResultClass
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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> 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