pub struct Flags { /* private fields */ }Implementations§
Source§impl Flags
impl Flags
pub const HAS_DICT: Self
pub const MEMFD_HINT: Self
pub const SHARUN_COMPAT: Self
Sourcepub const STORED: Self
pub const STORED: Self
Payload blocks are stored raw (no zstd). compressed_size
equals original_size for every block; the runtime reads
payload bytes directly without decompression.
pub const fn empty() -> Self
pub const fn bits(&self) -> u16
pub const fn from_bits_truncate(bits: u16) -> Self
pub const fn contains(&self, other: Self) -> bool
Trait Implementations§
Source§impl BitOrAssign for Flags
impl BitOrAssign for Flags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreimpl Copy for Flags
impl Eq for Flags
impl StructuralPartialEq for Flags
Auto Trait Implementations§
impl Freeze for Flags
impl RefUnwindSafe for Flags
impl Send for Flags
impl Sync for Flags
impl Unpin for Flags
impl UnsafeUnpin for Flags
impl UnwindSafe for Flags
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