pub struct AllocationResult {
pub partitions: [(u64, u64); 16],
pub count: usize,
pub total_bytes: u64,
}Expand description
Storage allocation result
Fields§
§partitions: [(u64, u64); 16]Partition LBAs (start, end) for each chunk
count: usizeNumber of partitions allocated
total_bytes: u64Total space allocated in bytes
Trait Implementations§
Source§impl Clone for AllocationResult
impl Clone for AllocationResult
Source§fn clone(&self) -> AllocationResult
fn clone(&self) -> AllocationResult
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 Freeze for AllocationResult
impl RefUnwindSafe for AllocationResult
impl Send for AllocationResult
impl Sync for AllocationResult
impl Unpin for AllocationResult
impl UnwindSafe for AllocationResult
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