Enum constriction::stream::chain::EncoderFrontendError
source · pub enum EncoderFrontendError {
OutOfRemainders,
ImpossibleSymbol,
}
Expand description
Frontend error type for misuse of a ChainCoder
for encoding.
Variants§
Trait Implementations§
source§impl Debug for EncoderFrontendError
impl Debug for EncoderFrontendError
source§impl Display for EncoderFrontendError
impl Display for EncoderFrontendError
source§impl Error for EncoderFrontendError
impl Error for EncoderFrontendError
1.30.0 · 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 PartialEq for EncoderFrontendError
impl PartialEq for EncoderFrontendError
source§fn eq(&self, other: &EncoderFrontendError) -> bool
fn eq(&self, other: &EncoderFrontendError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EncoderFrontendError
impl StructuralEq for EncoderFrontendError
impl StructuralPartialEq for EncoderFrontendError
Auto Trait Implementations§
impl RefUnwindSafe for EncoderFrontendError
impl Send for EncoderFrontendError
impl Sync for EncoderFrontendError
impl Unpin for EncoderFrontendError
impl UnwindSafe for EncoderFrontendError
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