pub struct LeanWorkerJsonCommand<Req, Resp> { /* private fields */ }Expand description
A non-streaming downstream JSON command.
The command names a Lean export with ABI String -> IO String. Req and
Resp are downstream-owned serde types; lean-rs-worker owns request
transport, worker lifecycle, timeout, cancellation, and response decoding.
Implementations§
Trait Implementations§
Source§impl<Req, Resp> Clone for LeanWorkerJsonCommand<Req, Resp>
impl<Req, Resp> Clone for LeanWorkerJsonCommand<Req, Resp>
Source§impl<Req, Resp> Debug for LeanWorkerJsonCommand<Req, Resp>
impl<Req, Resp> Debug for LeanWorkerJsonCommand<Req, Resp>
Source§impl<Req, Resp> PartialEq for LeanWorkerJsonCommand<Req, Resp>
impl<Req, Resp> PartialEq for LeanWorkerJsonCommand<Req, Resp>
impl<Req, Resp> Eq for LeanWorkerJsonCommand<Req, Resp>
Auto Trait Implementations§
impl<Req, Resp> Freeze for LeanWorkerJsonCommand<Req, Resp>
impl<Req, Resp> RefUnwindSafe for LeanWorkerJsonCommand<Req, Resp>
impl<Req, Resp> Send for LeanWorkerJsonCommand<Req, Resp>
impl<Req, Resp> Sync for LeanWorkerJsonCommand<Req, Resp>
impl<Req, Resp> Unpin for LeanWorkerJsonCommand<Req, Resp>
impl<Req, Resp> UnsafeUnpin for LeanWorkerJsonCommand<Req, Resp>
impl<Req, Resp> UnwindSafe for LeanWorkerJsonCommand<Req, Resp>
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