pub struct AOFEventSource { /* private fields */ }Expand description
Event source that reads from AOF (append-only file) logs.
Implementations§
Trait Implementations§
Source§impl Clone for AOFEventSource
impl Clone for AOFEventSource
Source§fn clone(&self) -> AOFEventSource
fn clone(&self) -> AOFEventSource
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 EventSource for AOFEventSource
impl EventSource for AOFEventSource
Source§async fn get_events(&self) -> Result<Vec<NetLogMessage>>
async fn get_events(&self) -> Result<Vec<NetLogMessage>>
Get all events collected by this source.
Source§fn get_label(&self) -> Option<String>
fn get_label(&self) -> Option<String>
Get a human-readable label for this source (e.g., “node-a”, “gateway”).
Source§async fn get_events_for_transaction(
&self,
tx: &Transaction,
) -> Result<Vec<NetLogMessage>>
async fn get_events_for_transaction( &self, tx: &Transaction, ) -> Result<Vec<NetLogMessage>>
Get events for a specific transaction.
Auto Trait Implementations§
impl !RefUnwindSafe for AOFEventSource
impl !UnwindSafe for AOFEventSource
impl Freeze for AOFEventSource
impl Send for AOFEventSource
impl Sync for AOFEventSource
impl Unpin for AOFEventSource
impl UnsafeUnpin for AOFEventSource
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,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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