pub struct SizeChange {
pub old_size: u64,
pub new_size: u64,
}Expand description
Plan to grow inode_size to new_size without writing any data blocks.
Returns the size delta only — growing a file sparsely costs no blocks,
and the hole reads as zeros (via extent::lookup returning None).
Fields§
§old_size: u64§new_size: u64Trait Implementations§
Source§impl Clone for SizeChange
impl Clone for SizeChange
impl Copy for SizeChange
Source§impl Debug for SizeChange
impl Debug for SizeChange
impl Eq for SizeChange
Source§impl PartialEq for SizeChange
impl PartialEq for SizeChange
impl StructuralPartialEq for SizeChange
Auto Trait Implementations§
impl Freeze for SizeChange
impl RefUnwindSafe for SizeChange
impl Send for SizeChange
impl Sync for SizeChange
impl Unpin for SizeChange
impl UnsafeUnpin for SizeChange
impl UnwindSafe for SizeChange
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