#[repr(C)]pub struct asdf_decomp_cfg_t {
pub mode: AsdfBlockDecompMode,
pub max_memory_bytes: usize,
pub max_memory_threshold: c_double,
pub chunk_size: usize,
pub tmp_dir: *const c_char,
}Expand description
Decompression options.
This mirrors the anonymous struct that forms asdf_config_t’s decomp
field, so it must be laid out as though it were declared inline there.
Fields§
§mode: AsdfBlockDecompModeWhen to decompress.
max_memory_bytes: usizeDecompressed size above which to spill to disk.
max_memory_threshold: c_doubleFraction of system memory above which to spill to disk.
chunk_size: usizeChunk size for lazy decompression; rounded up to a page.
tmp_dir: *const c_charDirectory for temporary files when spilling to disk.
Trait Implementations§
Auto Trait Implementations§
impl !Send for asdf_decomp_cfg_t
impl !Sync for asdf_decomp_cfg_t
impl Freeze for asdf_decomp_cfg_t
impl RefUnwindSafe for asdf_decomp_cfg_t
impl Unpin for asdf_decomp_cfg_t
impl UnsafeUnpin for asdf_decomp_cfg_t
impl UnwindSafe for asdf_decomp_cfg_t
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