#[non_exhaustive]pub struct DiscardedWrite<F> {
pub operation: OperationId,
pub effect: EffectId,
pub frame: F,
pub measure: FrameMeasure,
pub written: usize,
pub delivery: Delivery,
}Expand description
One frame removed before normal write completion.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.operation: OperationIdOwning operation.
effect: EffectIdOwning effect.
frame: FOriginal complete frame.
measure: FrameMeasureWire and retained-memory measurement captured at commit.
written: usizeExact bytes that had progressed before removal.
delivery: DeliveryConservative delivery certainty at removal.
Trait Implementations§
Source§impl<F: Clone> Clone for DiscardedWrite<F>
impl<F: Clone> Clone for DiscardedWrite<F>
Source§impl<F: Debug> Debug for DiscardedWrite<F>
impl<F: Debug> Debug for DiscardedWrite<F>
impl<F: Eq> Eq for DiscardedWrite<F>
Source§impl<F: PartialEq> PartialEq for DiscardedWrite<F>
impl<F: PartialEq> PartialEq for DiscardedWrite<F>
impl<F: PartialEq> StructuralPartialEq for DiscardedWrite<F>
Auto Trait Implementations§
impl<F> Freeze for DiscardedWrite<F>where
F: Freeze,
impl<F> RefUnwindSafe for DiscardedWrite<F>where
F: RefUnwindSafe,
impl<F> Send for DiscardedWrite<F>where
F: Send,
impl<F> Sync for DiscardedWrite<F>where
F: Sync,
impl<F> Unpin for DiscardedWrite<F>where
F: Unpin,
impl<F> UnsafeUnpin for DiscardedWrite<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for DiscardedWrite<F>where
F: UnwindSafe,
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