pub enum ReadEntry<T = Vec<u8>> {
Solid(SolidEntry<T>),
Normal(NormalEntry<T>),
}Expand description
A NormalEntry or SolidEntry read from an archive.
Variants§
Trait Implementations§
Source§impl<T> From<NormalEntry<T>> for ReadEntry<T>
impl<T> From<NormalEntry<T>> for ReadEntry<T>
Source§fn from(value: NormalEntry<T>) -> Self
fn from(value: NormalEntry<T>) -> Self
Converts to this type from the input type.
Source§impl<T> From<SolidEntry<T>> for ReadEntry<T>
impl<T> From<SolidEntry<T>> for ReadEntry<T>
Source§fn from(value: SolidEntry<T>) -> Self
fn from(value: SolidEntry<T>) -> Self
Converts to this type from the input type.
Source§impl<T: Ord> Ord for ReadEntry<T>
impl<T: Ord> Ord for ReadEntry<T>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialOrd> PartialOrd for ReadEntry<T>
impl<T: PartialOrd> PartialOrd for ReadEntry<T>
impl<T> Entry for ReadEntry<T>where
ReadEntry<T>: SealedEntryExt,
impl<T: Eq> Eq for ReadEntry<T>
impl<T> StructuralPartialEq for ReadEntry<T>
Auto Trait Implementations§
impl<T> Freeze for ReadEntry<T>
impl<T> RefUnwindSafe for ReadEntry<T>where
T: RefUnwindSafe,
impl<T> Send for ReadEntry<T>where
T: Send,
impl<T> Sync for ReadEntry<T>where
T: Sync,
impl<T> Unpin for ReadEntry<T>where
T: Unpin,
impl<T> UnwindSafe for ReadEntry<T>where
T: 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