pub struct BlockAllocationPlan {
pub first_block: u64,
pub count: u32,
pub bitmap: BitmapWrite,
pub bgd: BgdCounterUpdate,
pub sb: SuperblockCounterUpdate,
}Expand description
Complete plan for one block-allocation request.
Fields§
§first_block: u64First allocated fs block (absolute, not group-relative).
count: u32Number of contiguous blocks allocated.
bitmap: BitmapWrite§bgd: BgdCounterUpdate§sb: SuperblockCounterUpdateTrait Implementations§
Source§impl Clone for BlockAllocationPlan
impl Clone for BlockAllocationPlan
Source§fn clone(&self) -> BlockAllocationPlan
fn clone(&self) -> BlockAllocationPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BlockAllocationPlan
impl Debug for BlockAllocationPlan
impl Eq for BlockAllocationPlan
Source§impl PartialEq for BlockAllocationPlan
impl PartialEq for BlockAllocationPlan
impl StructuralPartialEq for BlockAllocationPlan
Auto Trait Implementations§
impl Freeze for BlockAllocationPlan
impl RefUnwindSafe for BlockAllocationPlan
impl Send for BlockAllocationPlan
impl Sync for BlockAllocationPlan
impl Unpin for BlockAllocationPlan
impl UnsafeUnpin for BlockAllocationPlan
impl UnwindSafe for BlockAllocationPlan
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