Enum Step
pub enum Step {
Continue,
Corrupt,
}Available on crate feature
alloc only.Expand description
Reports the result of feeding a chunk to the reader.
Variants§
Continue
The chunk was accepted; call JournalReader::demand for the next
chunk size.
Corrupt
The chunk was malformed (size mismatch or CRC failure). The reader is
now stopped; truncate the source to JournalReader::bytes_consumed.
Trait Implementations§
impl Copy for Step
impl Eq for Step
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnwindSafe for Step
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