pub enum DecodeStatus {
NeedInput,
NeedOutput,
Header {
version: u32,
objects: u32,
},
EntryStart(EntryHeader),
EntryEnd {
end_offset: u64,
crc32: u32,
object_id: Option<ObjectId>,
},
Finished(ObjectId),
}Expand description
Events stop decoding before the next entry. Hosts can stage body fragments and persist metadata without retaining an object or an object-count array.
Variants§
Trait Implementations§
Source§impl Clone for DecodeStatus
impl Clone for DecodeStatus
Source§fn clone(&self) -> DecodeStatus
fn clone(&self) -> DecodeStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DecodeStatus
Source§impl Debug for DecodeStatus
impl Debug for DecodeStatus
impl Eq for DecodeStatus
Source§impl PartialEq for DecodeStatus
impl PartialEq for DecodeStatus
impl StructuralPartialEq for DecodeStatus
Auto Trait Implementations§
impl Freeze for DecodeStatus
impl RefUnwindSafe for DecodeStatus
impl Send for DecodeStatus
impl Sync for DecodeStatus
impl Unpin for DecodeStatus
impl UnsafeUnpin for DecodeStatus
impl UnwindSafe for DecodeStatus
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