pub struct CooperativeCancellationOptions {
pub reason: Option<String>,
pub cleanup_timeout_seconds: Option<u64>,
}Expand description
Optional reason and runtime-owned cleanup limit for a cooperative request.
Fields§
§reason: Option<String>§cleanup_timeout_seconds: Option<u64>Trait Implementations§
Auto Trait Implementations§
impl Freeze for CooperativeCancellationOptions
impl RefUnwindSafe for CooperativeCancellationOptions
impl Send for CooperativeCancellationOptions
impl Sync for CooperativeCancellationOptions
impl Unpin for CooperativeCancellationOptions
impl UnsafeUnpin for CooperativeCancellationOptions
impl UnwindSafe for CooperativeCancellationOptions
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