pub enum Begun {
Done(Finished),
Sent(Box<dyn Pending>),
}Expand description
An operation begun (see JsRuntime::begin).
Variants§
Done(Finished)
It is over already.
Sent(Box<dyn Pending>)
It was sent: wait for it without holding the runtime, then hand
what came to JsRuntime::finish.
Auto Trait Implementations§
impl !RefUnwindSafe for Begun
impl !Sync for Begun
impl !UnwindSafe for Begun
impl Forget for Begun
impl Freeze for Begun
impl Move for Begun
impl Send for Begun
impl Unpin for Begun
impl UnsafeUnpin for Begunwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<JsResult<Decoded>>: UnsafeUnpin,
*const dyn Pending is !null: UnsafeUnpin,
PhantomData<dyn Pending>: UnsafeUnpin,
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