pub struct TestMemoryStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for TestMemoryStore
impl Clone for TestMemoryStore
Source§fn clone(&self) -> TestMemoryStore
fn clone(&self) -> TestMemoryStore
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 moreSource§impl Default for TestMemoryStore
impl Default for TestMemoryStore
Source§fn default() -> TestMemoryStore
fn default() -> TestMemoryStore
Returns the “default value” for a type. Read more
Source§impl MemoryStore for TestMemoryStore
impl MemoryStore for TestMemoryStore
fn append<'life0, 'async_trait>(
&'life0 self,
entry: MemoryEntry,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn recent<'life0, 'async_trait>(
&'life0 self,
limit: usize,
) -> Pin<Box<dyn Future<Output = Result<Vec<MemoryEntry>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn recent_for_boundary<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
limit: usize,
boundary: &'life1 str,
source_channel: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Result<Vec<MemoryEntry>, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn recent_for_boundary<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
limit: usize,
boundary: &'life1 str,
source_channel: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Result<Vec<MemoryEntry>, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Query recent entries filtered by privacy boundary. Read more
Auto Trait Implementations§
impl Freeze for TestMemoryStore
impl RefUnwindSafe for TestMemoryStore
impl Send for TestMemoryStore
impl Sync for TestMemoryStore
impl Unpin for TestMemoryStore
impl UnsafeUnpin for TestMemoryStore
impl UnwindSafe for TestMemoryStore
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