pub struct RunCtx<S> {
pub services: Arc<S>,
pub cancel: CancellationToken,
/* private fields */
}Fields§
§services: Arc<S>§cancel: CancellationTokenImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for RunCtx<S>
impl<S> RefUnwindSafe for RunCtx<S>where
Arc<S>: RefUnwindSafe,
impl<S> Send for RunCtx<S>
impl<S> Sync for RunCtx<S>
impl<S> Unpin for RunCtx<S>
impl<S> UnsafeUnpin for RunCtx<S>where
Arc<S>: UnsafeUnpin,
impl<S> UnwindSafe for RunCtx<S>where
Arc<S>: 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