pub struct Cancel { /* private fields */ }Expand description
Internal operation used by the backend for request cancellation.
use wireshift::ops::Cancel;
let cancel = Cancel::new(9);
assert_eq!(cancel.target(), 9);Implementations§
Trait Implementations§
impl Copy for Cancel
Auto Trait Implementations§
impl Freeze for Cancel
impl RefUnwindSafe for Cancel
impl Send for Cancel
impl Sync for Cancel
impl Unpin for Cancel
impl UnsafeUnpin for Cancel
impl UnwindSafe for Cancel
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