pub struct CompressSpec {
pub compress_type: CompressType,
pub level: Option<i8>,
}Expand description
Compression specification for DefragRangeArgs.
Fields§
§compress_type: CompressTypeCompression algorithm to use.
level: Option<i8>Optional compression level. When None, the kernel default for the
chosen algorithm is used. When Some, the
BTRFS_DEFRAG_RANGE_COMPRESS_LEVEL flag is set and the level is
passed via the compress.level union member.
Trait Implementations§
Source§impl Clone for CompressSpec
impl Clone for CompressSpec
Source§fn clone(&self) -> CompressSpec
fn clone(&self) -> CompressSpec
Returns a duplicate 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 CompressSpec
impl Debug for CompressSpec
impl Copy for CompressSpec
Auto Trait Implementations§
impl Freeze for CompressSpec
impl RefUnwindSafe for CompressSpec
impl Send for CompressSpec
impl Sync for CompressSpec
impl Unpin for CompressSpec
impl UnsafeUnpin for CompressSpec
impl UnwindSafe for CompressSpec
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