pub struct DetachedAnswer { /* private fields */ }Expand description
One detached call’s complete answer, plus whatever it must hand back to
the service before that answer is written. See
HarnessSessionService::finish_detached.
Implementations§
Source§impl DetachedAnswer
impl DetachedAnswer
Sourcepub fn into_response(self) -> Value
pub fn into_response(self) -> Value
The caller’s JSON-RPC response, for a transport that owns no service to give a borrowed connection back to.
Auto Trait Implementations§
impl !RefUnwindSafe for DetachedAnswer
impl !Sync for DetachedAnswer
impl !UnwindSafe for DetachedAnswer
impl Freeze for DetachedAnswer
impl Send for DetachedAnswer
impl Unpin for DetachedAnswer
impl UnsafeUnpin for DetachedAnswer
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