Enum sndjvu_codec::Step
source · pub enum Step<L, R> {
Complete(L),
Incomplete(R),
}
Expand description
Represents the outcome of a coding operation, if no error was encountered.
Variants§
Complete(L)
Enough bytes were available and the coding operation completed successfully.
Incomplete(R)
Not enough input bytes were provided to complete the coding operation.
Auto Trait Implementations§
impl<L, R> RefUnwindSafe for Step<L, R>where
L: RefUnwindSafe,
R: RefUnwindSafe,
impl<L, R> Send for Step<L, R>
impl<L, R> Sync for Step<L, R>
impl<L, R> Unpin for Step<L, R>
impl<L, R> UnwindSafe for Step<L, R>where
L: UnwindSafe,
R: 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