Enum RecordingStoreError
#[non_exhaustive]pub enum RecordingStoreError {
Injected,
Commit(CommitError<MemoryProjectionStoreError>),
Reset(ResetError<MemoryProjectionStoreError>),
}Available on crate feature
memory only.Expand description
Why a RecordingProjectionStore call failed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Injected
The fixture injected this failure; nothing underneath it went wrong.
Commit(CommitError<MemoryProjectionStoreError>)
The wrapped store refused a commit in a way this crate has no arm
for. CommitError is #[non_exhaustive], so a new arm lands here
rather than being lost.
Reset(ResetError<MemoryProjectionStoreError>)
The wrapped store refused a reset in a way this crate has no arm for.
Trait Implementations§
§impl Clone for RecordingStoreError
impl Clone for RecordingStoreError
§impl Debug for RecordingStoreError
impl Debug for RecordingStoreError
§impl Display for RecordingStoreError
impl Display for RecordingStoreError
impl Eq for RecordingStoreError
§impl Error for RecordingStoreError
impl Error for RecordingStoreError
§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 From<MemoryProjectionStoreError> for RecordingStoreError
impl From<MemoryProjectionStoreError> for RecordingStoreError
§fn from(never: MemoryProjectionStoreError) -> Self
fn from(never: MemoryProjectionStoreError) -> Self
Converts to this type from the input type.
§impl PartialEq for RecordingStoreError
impl PartialEq for RecordingStoreError
impl StructuralPartialEq for RecordingStoreError
Auto Trait Implementations§
impl Freeze for RecordingStoreError
impl RefUnwindSafe for RecordingStoreError
impl Send for RecordingStoreError
impl Sync for RecordingStoreError
impl Unpin for RecordingStoreError
impl UnsafeUnpin for RecordingStoreError
impl UnwindSafe for RecordingStoreError
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