pub struct WriteOutcome {
pub count: u32,
pub committed: WriteCommitted,
pub verifier: Option<[u8; 8]>,
/* private fields */
}Expand description
Protocol write acknowledgement used by higher-level durability adapters. Result of one WRITE as reported by the server.
Fields§
§count: u32Bytes the server accepted (may be fewer than requested).
committed: WriteCommittedActual server response. For pNFS, the lowest level across all DS
replies (including short-write retries) contributing to count.
Preserve the outcome for commit_write_batch, which also handles
required pNFS layout synchronization.
verifier: Option<[u8; 8]>Single-server write verifier. pNFS verifiers are held in the opaque
receipt and checked by commit_write_batch. A changed verifier means
uncommitted data may have been lost and must be rewritten.
Implementations§
Source§impl WriteOutcome
impl WriteOutcome
Trait Implementations§
Source§impl Clone for WriteOutcome
impl Clone for WriteOutcome
Source§fn clone(&self) -> WriteOutcome
fn clone(&self) -> WriteOutcome
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 WriteOutcome
impl RefUnwindSafe for WriteOutcome
impl Send for WriteOutcome
impl Sync for WriteOutcome
impl Unpin for WriteOutcome
impl UnsafeUnpin for WriteOutcome
impl UnwindSafe for WriteOutcome
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