pub struct BgdCounterUpdate {
pub group_idx: u32,
pub free_blocks_delta: i32,
pub free_inodes_delta: i32,
pub used_dirs_delta: i32,
}Expand description
A change to one block-group descriptor’s free-counter and/or
used_dirs_count. Applied together with the matching BitmapWrite.
Fields§
§group_idx: u32§free_blocks_delta: i32Delta to apply to bg_free_blocks_count (+free, -allocated).
free_inodes_delta: i32Delta to apply to bg_free_inodes_count.
used_dirs_delta: i32Delta to apply to bg_used_dirs_count.
Trait Implementations§
Source§impl Clone for BgdCounterUpdate
impl Clone for BgdCounterUpdate
Source§fn clone(&self) -> BgdCounterUpdate
fn clone(&self) -> BgdCounterUpdate
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 BgdCounterUpdate
impl Debug for BgdCounterUpdate
impl Eq for BgdCounterUpdate
Source§impl PartialEq for BgdCounterUpdate
impl PartialEq for BgdCounterUpdate
impl StructuralPartialEq for BgdCounterUpdate
Auto Trait Implementations§
impl Freeze for BgdCounterUpdate
impl RefUnwindSafe for BgdCounterUpdate
impl Send for BgdCounterUpdate
impl Sync for BgdCounterUpdate
impl Unpin for BgdCounterUpdate
impl UnsafeUnpin for BgdCounterUpdate
impl UnwindSafe for BgdCounterUpdate
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