pub struct Cancellation(/* private fields */);Expand description
Signals a query provider that its answer is no longer wanted: the subscription moved on to newer parameters or ended. Clones share the same flag, so the requester and the provider see one request.
Implementations§
Source§impl Cancellation
impl Cancellation
Trait Implementations§
Source§impl Clone for Cancellation
impl Clone for Cancellation
Source§impl Debug for Cancellation
impl Debug for Cancellation
Auto Trait Implementations§
impl Freeze for Cancellation
impl RefUnwindSafe for Cancellation
impl Send for Cancellation
impl Sync for Cancellation
impl Unpin for Cancellation
impl UnsafeUnpin for Cancellation
impl UnwindSafe for Cancellation
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