pub struct Entry { /* private fields */ }Expand description
One entry: where its bytes are in the file, and what they decode to.
Implementations§
Source§impl Entry
impl Entry
Sourcepub fn range(&self) -> Range<u64> ⓘ
pub fn range(&self) -> Range<u64> ⓘ
The bytes of the file that hold the entry, header to trailer.
Sourcepub fn decoder<W: Write>(&self, out: W) -> EntryDecoder<W> ⓘ
pub fn decoder<W: Write>(&self, out: W) -> EntryDecoder<W> ⓘ
A writer that takes the bytes of Entry::range, in order and in
pieces of any size, and writes what they decode to into out.
Trait Implementations§
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Forget for Entry
impl Freeze for Entry
impl Move for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.