pub enum ChiselErrorData<F, S> {
Format(F),
Source(S),
EndOfInput,
}Expand description
The error data type for chiseling operations.
Variants§
Format(F)
The provided data was invalid.
Source(S)
The byte source produced an error.
EndOfInput
The input ended unexpectedly.
Trait Implementations§
Auto Trait Implementations§
impl<F, S> Freeze for ChiselErrorData<F, S>
impl<F, S> RefUnwindSafe for ChiselErrorData<F, S>where
F: RefUnwindSafe,
S: RefUnwindSafe,
impl<F, S> Send for ChiselErrorData<F, S>
impl<F, S> Sync for ChiselErrorData<F, S>
impl<F, S> Unpin for ChiselErrorData<F, S>
impl<F, S> UnwindSafe for ChiselErrorData<F, S>where
F: UnwindSafe,
S: UnwindSafe,
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