pub enum Codec {
Zstd(Option<Arc<[u8]>>),
Stipple(&'static Reader<'static>),
}Expand description
How a package’s blocks become file content.
Variants§
Zstd(Option<Arc<[u8]>>)
A blocks payload: zstd frames, compressed with the package’s dictionary when it has one, or raw bytes when the footer says the payload is stored.
Stipple(&'static Reader<'static>)
A stipplefs image, opened once for the life of the process.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Codec
impl !UnwindSafe for Codec
impl Freeze for Codec
impl Send for Codec
impl Sync for Codec
impl Unpin for Codec
impl UnsafeUnpin for Codec
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