pub struct RetentionPolicyError { /* private fields */ }Expand description
Typed rejection of a non-positive retention window.
Trait Implementations§
Source§impl Clone for RetentionPolicyError
impl Clone for RetentionPolicyError
Source§fn clone(&self) -> RetentionPolicyError
fn clone(&self) -> RetentionPolicyError
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 RetentionPolicyError
Source§impl Debug for RetentionPolicyError
impl Debug for RetentionPolicyError
Source§impl Display for RetentionPolicyError
impl Display for RetentionPolicyError
impl Eq for RetentionPolicyError
Source§impl Error for RetentionPolicyError
impl Error for RetentionPolicyError
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 RetentionPolicyError
impl PartialEq for RetentionPolicyError
impl StructuralPartialEq for RetentionPolicyError
Auto Trait Implementations§
impl Freeze for RetentionPolicyError
impl RefUnwindSafe for RetentionPolicyError
impl Send for RetentionPolicyError
impl Sync for RetentionPolicyError
impl Unpin for RetentionPolicyError
impl UnsafeUnpin for RetentionPolicyError
impl UnwindSafe for RetentionPolicyError
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