Enum zstd_sys::ZSTD_dictLoadMethod_e
source · #[repr(u32)]pub enum ZSTD_dictLoadMethod_e {
ZSTD_dlm_byCopy = 0,
ZSTD_dlm_byRef = 1,
}
Variants§
ZSTD_dlm_byCopy = 0
< Copy dictionary content internally
ZSTD_dlm_byRef = 1
< Reference dictionary content – the dictionary buffer must outlive its users.
Trait Implementations§
source§impl Clone for ZSTD_dictLoadMethod_e
impl Clone for ZSTD_dictLoadMethod_e
source§fn clone(&self) -> ZSTD_dictLoadMethod_e
fn clone(&self) -> ZSTD_dictLoadMethod_e
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ZSTD_dictLoadMethod_e
impl Debug for ZSTD_dictLoadMethod_e
source§impl Hash for ZSTD_dictLoadMethod_e
impl Hash for ZSTD_dictLoadMethod_e
source§impl PartialEq for ZSTD_dictLoadMethod_e
impl PartialEq for ZSTD_dictLoadMethod_e
source§fn eq(&self, other: &ZSTD_dictLoadMethod_e) -> bool
fn eq(&self, other: &ZSTD_dictLoadMethod_e) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ZSTD_dictLoadMethod_e
impl Eq for ZSTD_dictLoadMethod_e
impl StructuralPartialEq for ZSTD_dictLoadMethod_e
Auto Trait Implementations§
impl Freeze for ZSTD_dictLoadMethod_e
impl RefUnwindSafe for ZSTD_dictLoadMethod_e
impl Send for ZSTD_dictLoadMethod_e
impl Sync for ZSTD_dictLoadMethod_e
impl Unpin for ZSTD_dictLoadMethod_e
impl UnwindSafe for ZSTD_dictLoadMethod_e
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)