pub struct InterceptedDispatchResult<M> {
pub result: Value,
pub metadata: M,
}Expand description
Result of an operation handled outside normal pack dispatch, paired with typed transport metadata that must survive the gate/audit boundary.
The canonical result remains the value used for audit accounting. The
metadata is returned to the intercepting transport without being smuggled
through a mutex side channel or folded into the verb’s public result shape.
Fields§
§result: ValueCanonical verb result used for audit and resource accounting.
metadata: MTransport-owned metadata that must accompany the canonical result.
Implementations§
Trait Implementations§
Source§impl<M: Clone> Clone for InterceptedDispatchResult<M>
impl<M: Clone> Clone for InterceptedDispatchResult<M>
Source§impl<M: Debug> Debug for InterceptedDispatchResult<M>
impl<M: Debug> Debug for InterceptedDispatchResult<M>
Source§impl<M: PartialEq> PartialEq for InterceptedDispatchResult<M>
impl<M: PartialEq> PartialEq for InterceptedDispatchResult<M>
impl<M: PartialEq> StructuralPartialEq for InterceptedDispatchResult<M>
Auto Trait Implementations§
impl<M> Freeze for InterceptedDispatchResult<M>where
M: Freeze,
impl<M> RefUnwindSafe for InterceptedDispatchResult<M>where
M: RefUnwindSafe,
impl<M> Send for InterceptedDispatchResult<M>where
M: Send,
impl<M> Sync for InterceptedDispatchResult<M>where
M: Sync,
impl<M> Unpin for InterceptedDispatchResult<M>where
M: Unpin,
impl<M> UnsafeUnpin for InterceptedDispatchResult<M>where
M: UnsafeUnpin,
impl<M> UnwindSafe for InterceptedDispatchResult<M>where
M: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more