pub enum MemoryProjectionStoreError {}Available on crate feature
memory only.Expand description
MemoryProjectionStore’s error type, which is uninhabited.
An uninhabited error is worth having: it proves the contract does not require a fallible read path, and it documents at the type level that this store has no failure modes of its own. Populating it would delete that claim.
Nothing the conformance suite needs is lost.
CommitError and ResetError are still meaningfully fallible here — a
foreign batch and a regressing position are both reachable — and the
adapter-failure paths a suite must also exercise come from hostile stores
written for that purpose, never from the oracle.
Distinct from MemoryStoreError, whose Display
names the event store.
Trait Implementations§
Source§impl Clone for MemoryProjectionStoreError
impl Clone for MemoryProjectionStoreError
impl Copy for MemoryProjectionStoreError
Source§impl Debug for MemoryProjectionStoreError
impl Debug for MemoryProjectionStoreError
Source§impl Display for MemoryProjectionStoreError
impl Display for MemoryProjectionStoreError
impl Eq for MemoryProjectionStoreError
Source§impl Error for MemoryProjectionStoreError
impl Error for MemoryProjectionStoreError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for MemoryProjectionStoreError
Auto Trait Implementations§
impl Freeze for MemoryProjectionStoreError
impl RefUnwindSafe for MemoryProjectionStoreError
impl Send for MemoryProjectionStoreError
impl Sync for MemoryProjectionStoreError
impl Unpin for MemoryProjectionStoreError
impl UnsafeUnpin for MemoryProjectionStoreError
impl UnwindSafe for MemoryProjectionStoreError
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