pub struct Ctx {
pub modern: bool,
pub tasks: bool,
pub cancel: Arc<AtomicBool>,
pub progress: Option<Value>,
pub id: Value,
}Expand description
One request: its era and whether it may be cancelled or report progress.
Fields§
§modern: bool§tasks: boolThe client declared the Tasks extension on this request.
cancel: Arc<AtomicBool>§progress: Option<Value>§id: ValueImplementations§
Auto Trait Implementations§
impl Freeze for Ctx
impl RefUnwindSafe for Ctx
impl Send for Ctx
impl Sync for Ctx
impl Unpin for Ctx
impl UnsafeUnpin for Ctx
impl UnwindSafe for Ctx
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