pub enum OperationMetadataError {
ReadOnlyMustBeSafe,
StateChangeCannotBeSafe,
NonIdempotentRetry,
}Expand description
Incoherent operation metadata.
Variants§
ReadOnlyMustBeSafe
Read-only operations must use safe request semantics.
StateChangeCannotBeSafe
Mutating and destructive operations cannot use safe semantics.
NonIdempotentRetry
Non-idempotent operations cannot be retry eligible.
Trait Implementations§
Source§impl Clone for OperationMetadataError
impl Clone for OperationMetadataError
Source§fn clone(&self) -> OperationMetadataError
fn clone(&self) -> OperationMetadataError
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 moreimpl Copy for OperationMetadataError
Source§impl Debug for OperationMetadataError
impl Debug for OperationMetadataError
Source§impl Display for OperationMetadataError
impl Display for OperationMetadataError
impl Eq for OperationMetadataError
Source§impl Error for OperationMetadataError
impl Error for OperationMetadataError
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 OperationMetadataError
impl PartialEq for OperationMetadataError
impl StructuralPartialEq for OperationMetadataError
Auto Trait Implementations§
impl Freeze for OperationMetadataError
impl RefUnwindSafe for OperationMetadataError
impl Send for OperationMetadataError
impl Sync for OperationMetadataError
impl Unpin for OperationMetadataError
impl UnsafeUnpin for OperationMetadataError
impl UnwindSafe for OperationMetadataError
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