Struct paxakos::buffer::InMemoryBuffer [−][src]
pub struct InMemoryBuffer<R, C, E: LogEntry> { /* fields omitted */ }
Expand description
An in-memory buffer.
Implementations
Trait Implementations
type RoundNum = R
type RoundNum = R
The round number type.
type CoordNum = C
type CoordNum = C
The coordination number type.
type Entry = E
type Entry = E
The log entry type.
type Error = Infallible
type Error = Infallible
The type of error this buffer may raise.
Insert an applied entry into the buffer.
Auto Trait Implementations
impl<R, C, E> RefUnwindSafe for InMemoryBuffer<R, C, E> where
C: RefUnwindSafe,
E: RefUnwindSafe,
R: RefUnwindSafe,
impl<R, C, E> Send for InMemoryBuffer<R, C, E> where
C: Send,
R: Send,
impl<R, C, E> Sync for InMemoryBuffer<R, C, E> where
C: Sync,
R: Sync,
impl<R, C, E> Unpin for InMemoryBuffer<R, C, E> where
C: Unpin,
R: Unpin,
impl<R, C, E> UnwindSafe for InMemoryBuffer<R, C, E> where
C: UnwindSafe,
E: RefUnwindSafe,
R: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more