pub enum StreamFixtureError {
TooManyChunks,
SourceScratchTooSmall,
SinkStorageTooSmall,
ZeroWriteLimit,
ZeroFaultIndex,
InjectedSourceFault,
InjectedSinkFault,
EmptyPatternData,
}Expand description
Invalid fixture or deterministic fixture I/O failure.
Variants§
TooManyChunks
The fixture contains too many chunks.
SourceScratchTooSmall
One source chunk exceeds supplied scratch storage.
SinkStorageTooSmall
Sink storage cannot accept the next deterministic write.
ZeroWriteLimit
The configured maximum sink write is zero.
ZeroFaultIndex
Fault observation indices are one-based.
InjectedSourceFault
The source reached its configured injected failure.
InjectedSinkFault
The sink reached its configured injected failure.
EmptyPatternData
Alternating stream patterns require a nonempty data chunk.
Trait Implementations§
Source§impl Clone for StreamFixtureError
impl Clone for StreamFixtureError
Source§fn clone(&self) -> StreamFixtureError
fn clone(&self) -> StreamFixtureError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StreamFixtureError
Source§impl Debug for StreamFixtureError
impl Debug for StreamFixtureError
Source§impl Display for StreamFixtureError
impl Display for StreamFixtureError
impl Eq for StreamFixtureError
Source§impl Error for StreamFixtureError
impl Error for StreamFixtureError
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()
Source§impl PartialEq for StreamFixtureError
impl PartialEq for StreamFixtureError
impl StructuralPartialEq for StreamFixtureError
Auto Trait Implementations§
impl Freeze for StreamFixtureError
impl RefUnwindSafe for StreamFixtureError
impl Send for StreamFixtureError
impl Sync for StreamFixtureError
impl Unpin for StreamFixtureError
impl UnsafeUnpin for StreamFixtureError
impl UnwindSafe for StreamFixtureError
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