pub enum ColdAction {
Drop,
Archive,
}Expand description
What to do with audit-event rows once they age past the warm_days
boundary in RetentionConfig.
Drop is the default — operators must explicitly opt into Archive
and supply an archive_url (validation enforced at startup;
tracked under E18 S-H / AAASM-1582).
Variants§
Drop
Permanently delete cold-tier rows once they pass warm_days.
Archive
Upload cold-tier rows to the operator-configured archive_url
(S3 / GCS / etc.) and remove them from primary storage.
Trait Implementations§
Source§impl Clone for ColdAction
impl Clone for ColdAction
Source§fn clone(&self) -> ColdAction
fn clone(&self) -> ColdAction
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 ColdAction
Source§impl Debug for ColdAction
impl Debug for ColdAction
Source§impl Default for ColdAction
impl Default for ColdAction
Source§fn default() -> ColdAction
fn default() -> ColdAction
Returns the “default value” for a type. Read more
impl Eq for ColdAction
Source§impl PartialEq for ColdAction
impl PartialEq for ColdAction
Source§fn eq(&self, other: &ColdAction) -> bool
fn eq(&self, other: &ColdAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ColdAction
Auto Trait Implementations§
impl Freeze for ColdAction
impl RefUnwindSafe for ColdAction
impl Send for ColdAction
impl Sync for ColdAction
impl Unpin for ColdAction
impl UnsafeUnpin for ColdAction
impl UnwindSafe for ColdAction
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.