pub struct InMemoryBaselineStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl BaselineStore for InMemoryBaselineStore
impl BaselineStore for InMemoryBaselineStore
fn put<'life0, 'async_trait>(
&'life0 self,
baseline: EntityBaseline,
) -> Pin<Box<dyn Future<Output = Result<(), BaselineError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
entity: &'life1 str,
metric: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<EntityBaseline, BaselineError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn contains<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
entity: &'life1 str,
metric: &'life2 str,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§impl Clone for InMemoryBaselineStore
impl Clone for InMemoryBaselineStore
Source§fn clone(&self) -> InMemoryBaselineStore
fn clone(&self) -> InMemoryBaselineStore
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 Default for InMemoryBaselineStore
impl Default for InMemoryBaselineStore
Source§fn default() -> InMemoryBaselineStore
fn default() -> InMemoryBaselineStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InMemoryBaselineStore
impl !RefUnwindSafe for InMemoryBaselineStore
impl Send for InMemoryBaselineStore
impl Sync for InMemoryBaselineStore
impl Unpin for InMemoryBaselineStore
impl UnsafeUnpin for InMemoryBaselineStore
impl !UnwindSafe for InMemoryBaselineStore
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