Enum constriction::stream::chain::BackendError
source · pub enum BackendError<CompressedBackendError, RemaindersBackendError> {
Compressed(CompressedBackendError),
Remainders(RemaindersBackendError),
}
Expand description
Error type for backend errors in a ChainCoder
.
Variants§
Trait Implementations§
source§impl<CompressedBackendError: Debug, RemaindersBackendError: Debug> Debug for BackendError<CompressedBackendError, RemaindersBackendError>
impl<CompressedBackendError: Debug, RemaindersBackendError: Debug> Debug for BackendError<CompressedBackendError, RemaindersBackendError>
source§impl<CompressedBackendError: Display, RemaindersBackendError: Display> Display for BackendError<CompressedBackendError, RemaindersBackendError>
impl<CompressedBackendError: Display, RemaindersBackendError: Display> Display for BackendError<CompressedBackendError, RemaindersBackendError>
source§impl<CompressedBackendError: Error + 'static, RemaindersBackendError: Error + 'static> Error for BackendError<CompressedBackendError, RemaindersBackendError>
impl<CompressedBackendError: Error + 'static, RemaindersBackendError: Error + 'static> Error for BackendError<CompressedBackendError, RemaindersBackendError>
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<CompressedBackendError: PartialEq, RemaindersBackendError: PartialEq> PartialEq for BackendError<CompressedBackendError, RemaindersBackendError>
impl<CompressedBackendError: PartialEq, RemaindersBackendError: PartialEq> PartialEq for BackendError<CompressedBackendError, RemaindersBackendError>
source§fn eq(
&self,
other: &BackendError<CompressedBackendError, RemaindersBackendError>
) -> bool
fn eq( &self, other: &BackendError<CompressedBackendError, RemaindersBackendError> ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<CompressedBackendError: Eq, RemaindersBackendError: Eq> Eq for BackendError<CompressedBackendError, RemaindersBackendError>
impl<CompressedBackendError, RemaindersBackendError> StructuralEq for BackendError<CompressedBackendError, RemaindersBackendError>
impl<CompressedBackendError, RemaindersBackendError> StructuralPartialEq for BackendError<CompressedBackendError, RemaindersBackendError>
Auto Trait Implementations§
impl<CompressedBackendError, RemaindersBackendError> RefUnwindSafe for BackendError<CompressedBackendError, RemaindersBackendError>where
CompressedBackendError: RefUnwindSafe,
RemaindersBackendError: RefUnwindSafe,
impl<CompressedBackendError, RemaindersBackendError> Send for BackendError<CompressedBackendError, RemaindersBackendError>
impl<CompressedBackendError, RemaindersBackendError> Sync for BackendError<CompressedBackendError, RemaindersBackendError>
impl<CompressedBackendError, RemaindersBackendError> Unpin for BackendError<CompressedBackendError, RemaindersBackendError>
impl<CompressedBackendError, RemaindersBackendError> UnwindSafe for BackendError<CompressedBackendError, RemaindersBackendError>where
CompressedBackendError: UnwindSafe,
RemaindersBackendError: 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