pub enum Front {
Head(Head),
Needs(u64),
}Expand description
What the first bytes of a bundle give of its head.
Variants§
Head(Head)
Needs(u64)
The head ends past what was given: it takes this many bytes, counted from the start of the file.
Trait Implementations§
impl StructuralPartialEq for Front
Auto Trait Implementations§
impl Forget for Front
impl Freeze for Front
impl Move for Front
impl RefUnwindSafe for Front
impl Send for Front
impl Sync for Front
impl Unpin for Front
impl UnsafeUnpin for Front
impl UnwindSafe for Front
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