pub struct NoopMemoryStore;Expand description
Noop store: put errors, list and search return empty.
Trait Implementations§
Source§impl Clone for NoopMemoryStore
impl Clone for NoopMemoryStore
Source§fn clone(&self) -> NoopMemoryStore
fn clone(&self) -> NoopMemoryStore
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 NoopMemoryStore
Source§impl Debug for NoopMemoryStore
impl Debug for NoopMemoryStore
Source§impl Default for NoopMemoryStore
impl Default for NoopMemoryStore
Source§fn default() -> NoopMemoryStore
fn default() -> NoopMemoryStore
Returns the “default value” for a type. Read more
Source§impl MemoryStore for NoopMemoryStore
impl MemoryStore for NoopMemoryStore
Source§fn put(
&self,
_entry: MemoryEntry,
) -> Pin<Box<dyn Future<Output = Result<(), SdkError>> + Send + '_>>
fn put( &self, _entry: MemoryEntry, ) -> Pin<Box<dyn Future<Output = Result<(), SdkError>> + Send + '_>>
Persist a memory entry.
Source§fn list(
&self,
_subject: &str,
) -> Pin<Box<dyn Future<Output = Result<Vec<MemoryEntry>, SdkError>> + Send + '_>>
fn list( &self, _subject: &str, ) -> Pin<Box<dyn Future<Output = Result<Vec<MemoryEntry>, SdkError>> + Send + '_>>
List entries for a subject.
Auto Trait Implementations§
impl Freeze for NoopMemoryStore
impl RefUnwindSafe for NoopMemoryStore
impl Send for NoopMemoryStore
impl Sync for NoopMemoryStore
impl Unpin for NoopMemoryStore
impl UnsafeUnpin for NoopMemoryStore
impl UnwindSafe for NoopMemoryStore
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