pub struct WindowsCancelFetchDataSnapshot { /* private fields */ }Expand description
Owned CANCEL_FETCH_DATA callback snapshot.
Implementations§
Source§impl WindowsCancelFetchDataSnapshot
impl WindowsCancelFetchDataSnapshot
Sourcepub const fn new(
info: WindowsCallbackInfoSnapshot,
flags: WindowsCancelFetchDataFlags,
range: WindowsCallbackRange,
) -> Self
pub const fn new( info: WindowsCallbackInfoSnapshot, flags: WindowsCancelFetchDataFlags, range: WindowsCallbackRange, ) -> Self
Creates an owned cancellation snapshot.
Sourcepub const fn info(&self) -> &WindowsCallbackInfoSnapshot
pub const fn info(&self) -> &WindowsCallbackInfoSnapshot
Returns common owned callback information.
Sourcepub const fn flags(&self) -> WindowsCancelFetchDataFlags
pub const fn flags(&self) -> WindowsCancelFetchDataFlags
Returns the native cancellation reason flags.
Sourcepub const fn range(&self) -> WindowsCallbackRange
pub const fn range(&self) -> WindowsCallbackRange
Returns the original hydration subrange that is no longer needed.
Trait Implementations§
Source§impl Clone for WindowsCancelFetchDataSnapshot
impl Clone for WindowsCancelFetchDataSnapshot
Source§fn clone(&self) -> WindowsCancelFetchDataSnapshot
fn clone(&self) -> WindowsCancelFetchDataSnapshot
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 PartialEq for WindowsCancelFetchDataSnapshot
impl PartialEq for WindowsCancelFetchDataSnapshot
Source§fn eq(&self, other: &WindowsCancelFetchDataSnapshot) -> bool
fn eq(&self, other: &WindowsCancelFetchDataSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for WindowsCancelFetchDataSnapshot
impl StructuralPartialEq for WindowsCancelFetchDataSnapshot
Auto Trait Implementations§
impl Freeze for WindowsCancelFetchDataSnapshot
impl RefUnwindSafe for WindowsCancelFetchDataSnapshot
impl Send for WindowsCancelFetchDataSnapshot
impl Sync for WindowsCancelFetchDataSnapshot
impl Unpin for WindowsCancelFetchDataSnapshot
impl UnwindSafe for WindowsCancelFetchDataSnapshot
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