pub struct InodeAllocationPlan {
pub inode: u32,
pub is_dir: bool,
pub bitmap: BitmapWrite,
pub bgd: BgdCounterUpdate,
pub sb: SuperblockCounterUpdate,
}Expand description
Complete plan for one inode-allocation request.
Fields§
§inode: u32Allocated inode number (1-based).
is_dir: boolTrue if this was a directory allocation (also bumps used_dirs).
bitmap: BitmapWrite§bgd: BgdCounterUpdate§sb: SuperblockCounterUpdateTrait Implementations§
Source§impl Clone for InodeAllocationPlan
impl Clone for InodeAllocationPlan
Source§fn clone(&self) -> InodeAllocationPlan
fn clone(&self) -> InodeAllocationPlan
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 InodeAllocationPlan
impl Debug for InodeAllocationPlan
impl Eq for InodeAllocationPlan
Source§impl PartialEq for InodeAllocationPlan
impl PartialEq for InodeAllocationPlan
impl StructuralPartialEq for InodeAllocationPlan
Auto Trait Implementations§
impl Freeze for InodeAllocationPlan
impl RefUnwindSafe for InodeAllocationPlan
impl Send for InodeAllocationPlan
impl Sync for InodeAllocationPlan
impl Unpin for InodeAllocationPlan
impl UnsafeUnpin for InodeAllocationPlan
impl UnwindSafe for InodeAllocationPlan
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