pub struct ConversationEpochsNewerThan<'a> { /* private fields */ }Expand description
Some data, e.g., OldEpochData, need to be cleaned up if they belong to a
conversation epoch that is greater than or equal to a given epoch. To enable this, SearchableEntity is implemented
with this search key.
Implementations§
Source§impl<'a> ConversationEpochsNewerThan<'a>
impl<'a> ConversationEpochsNewerThan<'a>
pub const fn new( conversation_id: &'a ConversationIdRef, epoch: u64, ) -> ConversationEpochsNewerThan<'a>
Trait Implementations§
Source§impl<'a> Clone for ConversationEpochsNewerThan<'a>
impl<'a> Clone for ConversationEpochsNewerThan<'a>
Source§fn clone(&self) -> ConversationEpochsNewerThan<'a>
fn clone(&self) -> ConversationEpochsNewerThan<'a>
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<'a> Debug for ConversationEpochsNewerThan<'a>
impl<'a> Debug for ConversationEpochsNewerThan<'a>
Source§impl DeletableBySearchKey<ConversationEpochsNewerThan<'_>> for OldEpochData
impl DeletableBySearchKey<ConversationEpochsNewerThan<'_>> for OldEpochData
Source§fn delete_all_matching<'a, Tx>(
tx: &'a Tx,
conversation_epoch: &ConversationEpochsNewerThan<'_>,
) -> CryptoKeystoreResult<()>
fn delete_all_matching<'a, Tx>( tx: &'a Tx, conversation_epoch: &ConversationEpochsNewerThan<'_>, ) -> CryptoKeystoreResult<()>
Delete all entities matching the search key. Read more
impl<'a> Eq for ConversationEpochsNewerThan<'a>
Source§impl<'a> Hash for ConversationEpochsNewerThan<'a>
impl<'a> Hash for ConversationEpochsNewerThan<'a>
Source§impl<'a> PartialEq for ConversationEpochsNewerThan<'a>
impl<'a> PartialEq for ConversationEpochsNewerThan<'a>
Source§impl SearchableEntity<ConversationEpochsNewerThan<'_>> for OldEpochData
impl SearchableEntity<ConversationEpochsNewerThan<'_>> for OldEpochData
Source§fn find_all_matching(
conn: &Connection,
conversation_epoch: &ConversationEpochsNewerThan<'_>,
) -> CryptoKeystoreResult<Vec<Self>>
fn find_all_matching( conn: &Connection, conversation_epoch: &ConversationEpochsNewerThan<'_>, ) -> CryptoKeystoreResult<Vec<Self>>
Find all entities matching the search key. Read more
impl<'a> StructuralPartialEq for ConversationEpochsNewerThan<'a>
Auto Trait Implementations§
impl<'a> Freeze for ConversationEpochsNewerThan<'a>
impl<'a> RefUnwindSafe for ConversationEpochsNewerThan<'a>
impl<'a> Send for ConversationEpochsNewerThan<'a>
impl<'a> Sync for ConversationEpochsNewerThan<'a>
impl<'a> Unpin for ConversationEpochsNewerThan<'a>
impl<'a> UnsafeUnpin for ConversationEpochsNewerThan<'a>
impl<'a> UnwindSafe for ConversationEpochsNewerThan<'a>
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