pub struct MistyAsyncTaskContext { /* private fields */ }Implementations§
Source§impl MistyAsyncTaskContext
impl MistyAsyncTaskContext
pub fn handle(&self) -> MistyClientAsyncHandleGuard
pub fn accessor(&self) -> MistyClientAccessor
pub fn schedule<E>(
&self,
handler: impl FnOnce(MistyClientHandle<'_>) -> Result<(), E> + Send + Sync + 'static,
)where
E: Display,
Auto Trait Implementations§
impl Freeze for MistyAsyncTaskContext
impl !RefUnwindSafe for MistyAsyncTaskContext
impl Send for MistyAsyncTaskContext
impl Sync for MistyAsyncTaskContext
impl Unpin for MistyAsyncTaskContext
impl !UnwindSafe for MistyAsyncTaskContext
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