pub struct MemoryIngestFixture { /* private fields */ }Expand description
The reference IngestFixture, over [MemoryIngestStore].
Every ingest rule is proven against this before it is allowed to fail an
adapter: a rule red here is a wrong rule, not a wrong store. Each instance
owns one fresh store, with an incarnation of its own, and each
connect is a new handle onto it.
Implementations§
Trait Implementations§
Source§impl Clone for MemoryIngestFixture
impl Clone for MemoryIngestFixture
Source§impl Debug for MemoryIngestFixture
impl Debug for MemoryIngestFixture
Source§impl Default for MemoryIngestFixture
impl Default for MemoryIngestFixture
Source§impl IngestFixture for MemoryIngestFixture
impl IngestFixture for MemoryIngestFixture
Source§const MID_GROUP_FAULT: Capability
const MID_GROUP_FAULT: Capability
Declined, by incapacity. The oracle’s store error is uninhabited and
its ingest stages every row before one extend, so there is no write
between two rows for a fault to land in, and adding one would put a
mistake switch in the reference (TST-09).
Source§type Store = MemoryIngestHandle
type Store = MemoryIngestHandle
The store under test: an event store that also ingests.
Source§fn connect(&self) -> impl Future<Output = Self::Store>
fn connect(&self) -> impl Future<Output = Self::Store>
A handle onto this fixture’s one backing store. Read more
Source§const MAX_EVENT_DATA_LEN: Option<usize> = None
const MAX_EVENT_DATA_LEN: Option<usize> = None
The largest
data payload, in bytes, the store accepts in one event,
or None for no ceiling. Read moreSource§const MAX_TAGS_PER_EVENT: Option<usize> = None
const MAX_TAGS_PER_EVENT: Option<usize> = None
The most tags the store accepts on one event, or
None for no
ceiling. Mirrored, as MAX_EVENT_DATA_LEN
is.Source§const MAX_METADATA_LEN: Option<usize> = None
const MAX_METADATA_LEN: Option<usize> = None
The largest
metadata, in bytes, the store accepts on one event, or
None for no ceiling. Mirrored, as
MAX_EVENT_DATA_LEN is. Zero is a legal
declaration, because the contract guarantees no metadata capacity.Auto Trait Implementations§
impl Freeze for MemoryIngestFixture
impl RefUnwindSafe for MemoryIngestFixture
impl Send for MemoryIngestFixture
impl Sync for MemoryIngestFixture
impl Unpin for MemoryIngestFixture
impl UnsafeUnpin for MemoryIngestFixture
impl UnwindSafe for MemoryIngestFixture
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