Enum SqlOutcomeNamespace
pub enum SqlOutcomeNamespace {
Operation,
Transaction,
}Expand description
The two durable retention-floor namespaces of the outcome cache: one-shot operations
(sql-operation: keys) and public transactions (sql-transaction: keys).
Variants§
Operation
One-shot operations — execute/batch/ddl/script derived keys.
Transaction
Public interactive transactions.
Implementations§
§impl SqlOutcomeNamespace
impl SqlOutcomeNamespace
pub fn floor_key(self) -> &'static str
pub fn floor_key(self) -> &'static str
The LOG_META_TABLE key holding this namespace’s durable retention floor.
Trait Implementations§
§impl Clone for SqlOutcomeNamespace
impl Clone for SqlOutcomeNamespace
§fn clone(&self) -> SqlOutcomeNamespace
fn clone(&self) -> SqlOutcomeNamespace
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SqlOutcomeNamespace
Auto Trait Implementations§
impl Freeze for SqlOutcomeNamespace
impl RefUnwindSafe for SqlOutcomeNamespace
impl Send for SqlOutcomeNamespace
impl Sync for SqlOutcomeNamespace
impl Unpin for SqlOutcomeNamespace
impl UnsafeUnpin for SqlOutcomeNamespace
impl UnwindSafe for SqlOutcomeNamespace
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