pub enum PollError {
Misuse,
}Expand description
Error returned by encoder::HeatshrinkEncoder::poll and
decoder::HeatshrinkDecoder::poll.
Only one variant exists: passing an empty output buffer is always a programming error.
Variants§
Misuse
API misuse: poll() was called with an empty output buffer.
Trait Implementations§
impl Eq for PollError
impl StructuralPartialEq for PollError
Auto Trait Implementations§
impl Freeze for PollError
impl RefUnwindSafe for PollError
impl Send for PollError
impl Sync for PollError
impl Unpin for PollError
impl UnsafeUnpin for PollError
impl UnwindSafe for PollError
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