pub struct ConversationEpochsOlderThan { /* private fields */ }Expand description
Some data, e.g., TntSecrets, need to be cleaned up if they belong to a
conversation epoch that is older than a given epoch. To enable this, SearchableEntity is implemented with this
search key.
Implementations§
Source§impl ConversationEpochsOlderThan
impl ConversationEpochsOlderThan
pub const fn new( conversation_id: ConversationId, epoch: u64, ) -> ConversationEpochsOlderThan
Trait Implementations§
Source§impl Clone for ConversationEpochsOlderThan
impl Clone for ConversationEpochsOlderThan
Source§fn clone(&self) -> ConversationEpochsOlderThan
fn clone(&self) -> ConversationEpochsOlderThan
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 moreSource§impl Debug for ConversationEpochsOlderThan
impl Debug for ConversationEpochsOlderThan
Source§impl DeletableBySearchKey<ConversationEpochsOlderThan> for TargetedMessageRxCounter
impl DeletableBySearchKey<ConversationEpochsOlderThan> for TargetedMessageRxCounter
Source§fn delete_all_matching<'a, Tx>(
tx: &'a Tx,
conversation_epoch: &ConversationEpochsOlderThan,
) -> CryptoKeystoreResult<()>
fn delete_all_matching<'a, Tx>( tx: &'a Tx, conversation_epoch: &ConversationEpochsOlderThan, ) -> CryptoKeystoreResult<()>
Delete all entities matching the search key. Read more
Source§impl DeletableBySearchKey<ConversationEpochsOlderThan> for TntSecret
impl DeletableBySearchKey<ConversationEpochsOlderThan> for TntSecret
Source§fn delete_all_matching<'a, Tx>(
tx: &'a Tx,
conversation_epoch: &ConversationEpochsOlderThan,
) -> CryptoKeystoreResult<()>
fn delete_all_matching<'a, Tx>( tx: &'a Tx, conversation_epoch: &ConversationEpochsOlderThan, ) -> CryptoKeystoreResult<()>
Delete all entities matching the search key. Read more
Source§impl DeletableBySearchKey<ConversationEpochsOlderThan> for TransientMessageRxCounter
impl DeletableBySearchKey<ConversationEpochsOlderThan> for TransientMessageRxCounter
Source§fn delete_all_matching<'a, Tx>(
tx: &'a Tx,
conversation_epoch: &ConversationEpochsOlderThan,
) -> CryptoKeystoreResult<()>
fn delete_all_matching<'a, Tx>( tx: &'a Tx, conversation_epoch: &ConversationEpochsOlderThan, ) -> CryptoKeystoreResult<()>
Delete all entities matching the search key. Read more
impl Eq for ConversationEpochsOlderThan
Source§impl Hash for ConversationEpochsOlderThan
impl Hash for ConversationEpochsOlderThan
Source§impl PartialEq for ConversationEpochsOlderThan
impl PartialEq for ConversationEpochsOlderThan
Source§fn eq(&self, other: &ConversationEpochsOlderThan) -> bool
fn eq(&self, other: &ConversationEpochsOlderThan) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl SearchableEntity<ConversationEpochsOlderThan> for TargetedMessageRxCounter
impl SearchableEntity<ConversationEpochsOlderThan> for TargetedMessageRxCounter
Source§fn find_all_matching(
conn: &Connection,
conversation_epoch: &ConversationEpochsOlderThan,
) -> CryptoKeystoreResult<Vec<Self>>
fn find_all_matching( conn: &Connection, conversation_epoch: &ConversationEpochsOlderThan, ) -> CryptoKeystoreResult<Vec<Self>>
Find all entities matching the search key. Read more
Source§impl SearchableEntity<ConversationEpochsOlderThan> for TntSecret
impl SearchableEntity<ConversationEpochsOlderThan> for TntSecret
Source§fn find_all_matching(
conn: &Connection,
conversation_epoch: &ConversationEpochsOlderThan,
) -> CryptoKeystoreResult<Vec<Self>>
fn find_all_matching( conn: &Connection, conversation_epoch: &ConversationEpochsOlderThan, ) -> CryptoKeystoreResult<Vec<Self>>
Find all entities matching the search key. Read more
Source§impl SearchableEntity<ConversationEpochsOlderThan> for TransientMessageRxCounter
impl SearchableEntity<ConversationEpochsOlderThan> for TransientMessageRxCounter
Source§fn find_all_matching(
conn: &Connection,
conversation_epoch: &ConversationEpochsOlderThan,
) -> CryptoKeystoreResult<Vec<Self>>
fn find_all_matching( conn: &Connection, conversation_epoch: &ConversationEpochsOlderThan, ) -> CryptoKeystoreResult<Vec<Self>>
Find all entities matching the search key. Read more
impl StructuralPartialEq for ConversationEpochsOlderThan
Auto Trait Implementations§
impl Freeze for ConversationEpochsOlderThan
impl RefUnwindSafe for ConversationEpochsOlderThan
impl Send for ConversationEpochsOlderThan
impl Sync for ConversationEpochsOlderThan
impl Unpin for ConversationEpochsOlderThan
impl UnsafeUnpin for ConversationEpochsOlderThan
impl UnwindSafe for ConversationEpochsOlderThan
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<T> DynEntityId for T
impl<T> DynEntityId for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more