enum Request {
Job(Job),
Worlds,
}Available on crate feature
mcp and non-WebAssembly only.Expand description
What a command asks the host to do.
Variants§
Job(Job)
Run a job against one world.
Worlds
Answer with the worlds the host carries. Only the host knows them: the worlds on other threads are not components this crate can recognise, so the server asks rather than keeping a list of its own.
Auto Trait Implementations§
impl !RefUnwindSafe for Request
impl !Sync for Request
impl !UnwindSafe for Request
impl Forget for Request
impl Freeze for Request
impl Send for Request
impl Unpin for Request
impl UnsafeUnpin for Request
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