Struct paxakos::buffer::InMemoryBuffer
source · pub struct InMemoryBuffer<R, C, E: LogEntry> { /* private fields */ }
Expand description
An in-memory buffer.
Implementations
Trait Implementations
sourceimpl<R, C, E> Buffer for InMemoryBuffer<R, C, E>where
R: RoundNum,
C: CoordNum,
E: LogEntry,
impl<R, C, E> Buffer for InMemoryBuffer<R, C, E>where
R: RoundNum,
C: CoordNum,
E: LogEntry,
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.
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more