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 Forget for CooperativeCancellationOptions
impl Freeze for CooperativeCancellationOptions
impl Move for CooperativeCancellationOptions
impl RefUnwindSafe for CooperativeCancellationOptions
impl Send for CooperativeCancellationOptionswhere
RawVecInner: Send,
impl Sync for CooperativeCancellationOptionswhere
RawVecInner: Sync,
impl Unpin for CooperativeCancellationOptions
impl UnsafeUnpin for CooperativeCancellationOptions
impl UnwindSafe for CooperativeCancellationOptionswhere
RawVecInner: UnwindSafe,
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