#[non_exhaustive]pub enum Refusal {
}Expand description
Driver contract refusal.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Empty
Empty geometry is not a raster.
Overflow
Size arithmetic overflow.
SourceChanged
Source declaration changed after preparation.
OutputLimit
Total encoded bytes exceed the supplied output allowance.
Patches
Layout requires unavailable or unannounced seek-back writes.
DestinationChanged
Destination access changed while policy was deciding.
RequestOrder
Encoder requests are out of order, inconsistent or outside the declaration.
Fields
PassLimit
The encoder exceeded its admitted native pass bound or final pass.
IncompletePass
Completion or a new pass arrived before the current traversal completed.
PullProtocol
A pull did not perform exactly one successful fill, or swallowed a failure.
ReplayChanged
Samples or identity changed on a repeated source/disk traversal.
Fields
EarlyOutput
Final-pass-only output appeared before its final traversal started.
NoInputRoute
No executable input route could reserve its required managed storage.
Trait Implementations§
impl Copy for Refusal
impl Eq for Refusal
Source§impl Error for Refusal
impl Error for Refusal
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
impl StructuralPartialEq for Refusal
Auto Trait Implementations§
impl Freeze for Refusal
impl RefUnwindSafe for Refusal
impl Send for Refusal
impl Sync for Refusal
impl Unpin for Refusal
impl UnsafeUnpin for Refusal
impl UnwindSafe for Refusal
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<E> CodecErrorExt for Ewhere
E: Error + 'static,
impl<E> CodecErrorExt for Ewhere
E: Error + 'static,
Source§fn unsupported_operation(&self) -> Option<&UnsupportedOperation>
fn unsupported_operation(&self) -> Option<&UnsupportedOperation>
UnsupportedOperation in this error’s cause chain.Source§fn limit_exceeded(&self) -> Option<&LimitExceeded>
fn limit_exceeded(&self) -> Option<&LimitExceeded>
LimitExceeded in this error’s cause chain.Source§fn codec_error(&self) -> Option<&CodecError>
fn codec_error(&self) -> Option<&CodecError>
CodecError envelope from this error’s chain — after
any erasure (Box<dyn Error>, anyhow::Error, a mapped wrapper) — by
downcasting to the concrete At<CodecError> (or a bare CodecError),
tolerating a single Box layer (Box<At<CodecError>> etc., so a codec may
use an 8-byte boxed type Error). It gives the
category and the originating
codec name, so a consumer can tell codecs apart
without naming any codec-specific type. Read moreSource§fn find_cause<T>(&self) -> Option<&T>where
T: Error + 'static,
fn find_cause<T>(&self) -> Option<&T>where
T: Error + 'static,
T in this error’s cause chain.Source§fn error_category(&self) -> Option<ErrorCategory>
fn error_category(&self) -> Option<ErrorCategory>
codec_error().map(CodecError::category) — the
coarse axis app/lib code routes on.