pub struct WriteResult {
pub file: FileOperand,
pub offset: u64,
pub bytes_written: usize,
pub stable: bool,
}Expand description
The result of one crate::WriteOp. file echoes the request’s file reference.
Fields§
§file: FileOperand§offset: u64The resolved offset the write actually started at (never Cur/End
sentinels).
bytes_written: usize§stable: boolWhether the server committed the write to stable storage.
Trait Implementations§
Source§impl Clone for WriteResult
impl Clone for WriteResult
Source§fn clone(&self) -> WriteResult
fn clone(&self) -> WriteResult
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 moreAuto Trait Implementations§
impl Freeze for WriteResult
impl RefUnwindSafe for WriteResult
impl Send for WriteResult
impl Sync for WriteResult
impl Unpin for WriteResult
impl UnsafeUnpin for WriteResult
impl UnwindSafe for WriteResult
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