pub struct WindowsFetchDataCancellationOutcome { /* private fields */ }Expand description
Per-callback result of matching one CFAPI cancellation range to active hydration waiters.
Implementations§
Source§impl WindowsFetchDataCancellationOutcome
impl WindowsFetchDataCancellationOutcome
Sourcepub const fn fully_matched(self) -> usize
pub const fn fully_matched(self) -> usize
Returns waiters whose complete range was covered by the callback range.
Sourcepub const fn partially_matched(self) -> usize
pub const fn partially_matched(self) -> usize
Returns waiters retained because only part of their range was cancelled.
Sourcepub const fn cancelled(self) -> usize
pub const fn cancelled(self) -> usize
Returns full-range cancellations that won the core waiter terminal race.
Sourcepub const fn already_cancelled(self) -> usize
pub const fn already_cancelled(self) -> usize
Returns full-range cancellations already applied to the same active waiter.
Sourcepub const fn already_completed(self) -> usize
pub const fn already_completed(self) -> usize
Returns full-range cancellations that arrived after waiter completion won.
Trait Implementations§
Source§impl Clone for WindowsFetchDataCancellationOutcome
impl Clone for WindowsFetchDataCancellationOutcome
Source§fn clone(&self) -> WindowsFetchDataCancellationOutcome
fn clone(&self) -> WindowsFetchDataCancellationOutcome
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 moreSource§impl Default for WindowsFetchDataCancellationOutcome
impl Default for WindowsFetchDataCancellationOutcome
Source§fn default() -> WindowsFetchDataCancellationOutcome
fn default() -> WindowsFetchDataCancellationOutcome
Returns the “default value” for a type. Read more
Source§impl PartialEq for WindowsFetchDataCancellationOutcome
impl PartialEq for WindowsFetchDataCancellationOutcome
Source§fn eq(&self, other: &WindowsFetchDataCancellationOutcome) -> bool
fn eq(&self, other: &WindowsFetchDataCancellationOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for WindowsFetchDataCancellationOutcome
impl Eq for WindowsFetchDataCancellationOutcome
impl StructuralPartialEq for WindowsFetchDataCancellationOutcome
Auto Trait Implementations§
impl Freeze for WindowsFetchDataCancellationOutcome
impl RefUnwindSafe for WindowsFetchDataCancellationOutcome
impl Send for WindowsFetchDataCancellationOutcome
impl Sync for WindowsFetchDataCancellationOutcome
impl Unpin for WindowsFetchDataCancellationOutcome
impl UnwindSafe for WindowsFetchDataCancellationOutcome
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