Struct libblobd_direct::BlobdCfgPartition
source · pub struct BlobdCfgPartition {
pub path: PathBuf,
pub offset: u64,
pub len: u64,
}
Fields§
§path: PathBuf
This file will be opened with O_RDWR | O_DIRECT.
offset: u64
This must be a multiple of the lpage size.
len: u64
This must be a multiple of the lpage size.
Trait Implementations§
source§impl Clone for BlobdCfgPartition
impl Clone for BlobdCfgPartition
source§fn clone(&self) -> BlobdCfgPartition
fn clone(&self) -> BlobdCfgPartition
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 moreAuto Trait Implementations§
impl RefUnwindSafe for BlobdCfgPartition
impl Send for BlobdCfgPartition
impl Sync for BlobdCfgPartition
impl Unpin for BlobdCfgPartition
impl UnwindSafe for BlobdCfgPartition
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