pub struct PendingStorageOp {
pub op_type: PendingOpType,
pub offset: u64,
pub len: usize,
pub data: Option<Vec<u8>>,
}Expand description
A pending storage operation awaiting completion.
Fields§
§op_type: PendingOpTypeType of the operation
offset: u64Offset within the file (for read/write)
len: usizeLength of the operation in bytes
data: Option<Vec<u8>>Data for write operations
Trait Implementations§
Source§impl Clone for PendingStorageOp
impl Clone for PendingStorageOp
Source§fn clone(&self) -> PendingStorageOp
fn clone(&self) -> PendingStorageOp
Returns a duplicate 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 PendingStorageOp
impl RefUnwindSafe for PendingStorageOp
impl Send for PendingStorageOp
impl Sync for PendingStorageOp
impl Unpin for PendingStorageOp
impl UnsafeUnpin for PendingStorageOp
impl UnwindSafe for PendingStorageOp
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