Enum lzss::LzssDynError
source · pub enum LzssDynError {
EjIsZero,
EiNotLargerThanEj,
EiEjToSmall,
EiEjToLarge,
}
Expand description
The error returned by LzssDyn::new
.
Variants§
EjIsZero
Invalid EJ, must be larger than 0.
EiNotLargerThanEj
Invalid EI, must be larger than EJ.
EiEjToSmall
Invalid EI, EJ, both together must be 8 or more.
EiEjToLarge
Invalid EI, EJ, both together must be 24 or less.
Trait Implementations§
source§impl Debug for LzssDynError
impl Debug for LzssDynError
source§impl Display for LzssDynError
impl Display for LzssDynError
source§impl Error for LzssDynError
Available on crate feature std
only.
impl Error for LzssDynError
Available on crate feature
std
only.Implementation of Error
for LzssDynError
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()
Auto Trait Implementations§
impl RefUnwindSafe for LzssDynError
impl Send for LzssDynError
impl Sync for LzssDynError
impl Unpin for LzssDynError
impl UnwindSafe for LzssDynError
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