pub enum RetainedMetadataError {
EmptyRequestId,
RequestIdTooLong,
RetentionLimitExceeded,
RetentionForbidden,
}Expand description
Request-identifier admission or transfer failure.
Variants§
EmptyRequestId
A present request identifier was empty.
RequestIdTooLong
The request identifier exceeds the SDK hard limit.
RetentionLimitExceeded
The caller’s retention limit is smaller than the identifier.
RetentionForbidden
Operation policy does not permit retention beyond the response guard.
Trait Implementations§
Source§impl Clone for RetainedMetadataError
impl Clone for RetainedMetadataError
Source§fn clone(&self) -> RetainedMetadataError
fn clone(&self) -> RetainedMetadataError
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 RetainedMetadataError
Source§impl Debug for RetainedMetadataError
impl Debug for RetainedMetadataError
Source§impl Display for RetainedMetadataError
impl Display for RetainedMetadataError
impl Eq for RetainedMetadataError
Source§impl Error for RetainedMetadataError
impl Error for RetainedMetadataError
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 RetainedMetadataError
impl PartialEq for RetainedMetadataError
impl StructuralPartialEq for RetainedMetadataError
Auto Trait Implementations§
impl Freeze for RetainedMetadataError
impl RefUnwindSafe for RetainedMetadataError
impl Send for RetainedMetadataError
impl Sync for RetainedMetadataError
impl Unpin for RetainedMetadataError
impl UnsafeUnpin for RetainedMetadataError
impl UnwindSafe for RetainedMetadataError
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