pub enum ChecksumAlgorithm {
Crc32c,
XxHash,
Sha256,
Blake2,
}
Expand description
Represents the set of valid block checksum algorithms.
mkfs.btrfs --checksum [ crc32c | xxhash | sha256 | blake2 ]
Variants§
Trait Implementations§
Source§impl Clone for ChecksumAlgorithm
impl Clone for ChecksumAlgorithm
Source§fn clone(&self) -> ChecksumAlgorithm
fn clone(&self) -> ChecksumAlgorithm
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChecksumAlgorithm
impl Debug for ChecksumAlgorithm
Source§impl Display for ChecksumAlgorithm
impl Display for ChecksumAlgorithm
impl Copy for ChecksumAlgorithm
Auto Trait Implementations§
impl Freeze for ChecksumAlgorithm
impl RefUnwindSafe for ChecksumAlgorithm
impl Send for ChecksumAlgorithm
impl Sync for ChecksumAlgorithm
impl Unpin for ChecksumAlgorithm
impl UnwindSafe for ChecksumAlgorithm
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