pub enum ObjectsError {
Invalid(&'static str),
NotFound,
AlreadyExists,
PreconditionFailed,
IdempotencyMismatch,
Capacity,
Unsupported,
Unauthorized,
Unavailable,
}Expand description
Provider-visible semantic failure. Transport errors remain adapter-specific.
Variants§
Invalid(&'static str)
Input violates the public contract.
NotFound
The addressed bucket, key, version, or snapshot does not exist.
AlreadyExists
A bucket name or fork destination already exists.
PreconditionFailed
A current-version condition did not hold and no mutation occurred.
IdempotencyMismatch
An idempotency key was reused with different arguments.
Capacity
A fixed or provider-specific bound was exhausted.
Unsupported
The provider does not implement the requested capability.
Authentication or authorization was rejected.
The provider could not be reached or returned an invalid response.
Trait Implementations§
Source§impl Clone for ObjectsError
impl Clone for ObjectsError
Source§impl Debug for ObjectsError
impl Debug for ObjectsError
Source§impl Display for ObjectsError
impl Display for ObjectsError
impl Eq for ObjectsError
Source§impl Error for ObjectsError
impl Error for ObjectsError
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 PartialEq for ObjectsError
impl PartialEq for ObjectsError
impl StructuralPartialEq for ObjectsError
Auto Trait Implementations§
impl Freeze for ObjectsError
impl RefUnwindSafe for ObjectsError
impl Send for ObjectsError
impl Sync for ObjectsError
impl Unpin for ObjectsError
impl UnsafeUnpin for ObjectsError
impl UnwindSafe for ObjectsError
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<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
Compare self to
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> 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