pub struct InMemoryConsoleLogStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl ConsoleLogStore for InMemoryConsoleLogStore
impl ConsoleLogStore for InMemoryConsoleLogStore
fn append_if_absent<'life0, 'async_trait>(
&'life0 self,
frame: NewConsoleFrame,
) -> Pin<Box<dyn Future<Output = ConsoleLogResult<AppendOutcome>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_frame_status<'life0, 'life1, 'async_trait>(
&'life0 self,
frame_id: &'life1 str,
status: ConsoleFrameStatus,
) -> Pin<Box<dyn Future<Output = ConsoleLogResult<Option<ConsoleFrame>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn query_frames<'life0, 'async_trait>(
&'life0 self,
query: ConsoleTimelineQuery,
) -> Pin<Box<dyn Future<Output = ConsoleLogResult<ConsoleTimelinePage>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_windowed_frames<'life0, 'async_trait>(
&'life0 self,
query: ConsoleTimelineWindowQuery,
) -> Pin<Box<dyn Future<Output = ConsoleLogResult<ConsoleTimelineWindowPage>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn frame_by_dedupe_key<'life0, 'life1, 'async_trait>(
&'life0 self,
dedupe_key: &'life1 str,
) -> Pin<Box<dyn Future<Output = ConsoleLogResult<Option<ConsoleFrame>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn latest_cursor<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ConsoleLogResult<Option<ConsoleCursor>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn clear_frames<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ConsoleLogResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn record_source_watermark<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
runtime_key: &'life1 str,
source_kind: ConsoleFrameSourceKind,
source_cursor: &'life2 str,
) -> Pin<Box<dyn Future<Output = ConsoleLogResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn source_watermark<'life0, 'life1, 'async_trait>(
&'life0 self,
runtime_key: &'life1 str,
source_kind: ConsoleFrameSourceKind,
) -> Pin<Box<dyn Future<Output = ConsoleLogResult<Option<String>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§impl Default for InMemoryConsoleLogStore
impl Default for InMemoryConsoleLogStore
Source§fn default() -> InMemoryConsoleLogStore
fn default() -> InMemoryConsoleLogStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for InMemoryConsoleLogStore
impl RefUnwindSafe for InMemoryConsoleLogStore
impl Send for InMemoryConsoleLogStore
impl Sync for InMemoryConsoleLogStore
impl Unpin for InMemoryConsoleLogStore
impl UnsafeUnpin for InMemoryConsoleLogStore
impl UnwindSafe for InMemoryConsoleLogStore
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more