pub enum HeatshrinkError {
InvalidParameters {
window: u8,
lookahead: u8,
},
}Available on crate feature
heatshrink only.Expand description
Errors returned by the heatshrink wrappers.
Variants§
InvalidParameters
Window or lookahead parameters were rejected by the heatshrink implementation as out-of-range.
Trait Implementations§
Source§impl Debug for HeatshrinkError
impl Debug for HeatshrinkError
Source§impl Display for HeatshrinkError
impl Display for HeatshrinkError
Source§impl Error for HeatshrinkError
impl Error for HeatshrinkError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 From<HeatshrinkError> for UploadError
Available on (crate features blocking or tokio or serial) and (crate features blocking or tokio) only.
impl From<HeatshrinkError> for UploadError
Available on (crate features
blocking or tokio or serial) and (crate features blocking or tokio) only.Source§fn from(source: HeatshrinkError) -> Self
fn from(source: HeatshrinkError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HeatshrinkError
impl RefUnwindSafe for HeatshrinkError
impl Send for HeatshrinkError
impl Sync for HeatshrinkError
impl Unpin for HeatshrinkError
impl UnsafeUnpin for HeatshrinkError
impl UnwindSafe for HeatshrinkError
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