pub struct SealedResponse {
pub response: PostcardPayload,
pub method_id: MethodId,
}Expand description
A sealed response stored in the operation store.
The store is in-process and same-version: the running code’s static
SHAPE for method_id is the source of truth for the response’s
schemas, both at admission time and at replay time. The store does
not freeze schemas alongside payloads — that would only matter for
cross-process / cross-version replay, and we don’t promise that.
Fields§
§response: PostcardPayloadPostcard-encoded response payload (without schemas).
method_id: MethodIdMethod this response was produced for. Replay derives the
response’s static &'static Shape from this.
Auto Trait Implementations§
impl !Freeze for SealedResponse
impl RefUnwindSafe for SealedResponse
impl Send for SealedResponse
impl Sync for SealedResponse
impl Unpin for SealedResponse
impl UnsafeUnpin for SealedResponse
impl UnwindSafe for SealedResponse
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