pub struct BufferStopReport<E> {
pub deadline_elapsed: bool,
pub snapshot: BufferedWriterSnapshot<E>,
}Expand description
Drain result. Once returned, the worker is joined and database dependencies may close.
Fields§
§deadline_elapsed: boolWhether this stop caller exhausted its drain budget.
snapshot: BufferedWriterSnapshot<E>Final state after joining the worker; remaining records have no confirmed durability.
Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for BufferStopReport<E>
impl<E> RefUnwindSafe for BufferStopReport<E>where
E: RefUnwindSafe,
impl<E> Send for BufferStopReport<E>
impl<E> Sync for BufferStopReport<E>
impl<E> Unpin for BufferStopReport<E>
impl<E> UnsafeUnpin for BufferStopReport<E>
impl<E> UnwindSafe for BufferStopReport<E>where
E: RefUnwindSafe,
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