[][src]Struct nc::file_dedupe_range_info_t

#[repr(C)]
pub struct file_dedupe_range_info_t {
    pub dest_fd: i64,
    pub dest_offset: u64,
    pub bytes_deduped: u64,
    pub status: i32,
    pub reserved: u32,
}

from struct btrfs_ioctl_file_extent_same_info

Fields

dest_fd: i64

in - destination file

dest_offset: u64

in - start of extent in destination

bytes_deduped: u64

out - total # of bytes we were able to dedupe from this file.

status: i32

status of this dedupe operation: < 0 for error == FILE_DEDUPE_RANGE_SAME if dedupe succeeds == FILE_DEDUPE_RANGE_DIFFERS if data differs out - see above description

reserved: u32

must be zero

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]