pub struct ResolvedAction<A: ActionSpec> {
pub params: A::Params,
pub result: Result<A::Result, ProtocolError>,
}Expand description
The orchestrator’s recorded outcome for a previously requested action. If the interceptor is reinvoked, this is fed back into subsequent interceptor invocations.
Fields§
§params: A::Params§result: Result<A::Result, ProtocolError>Trait Implementations§
Source§impl<A: Clone + ActionSpec> Clone for ResolvedAction<A>
impl<A: Clone + ActionSpec> Clone for ResolvedAction<A>
Source§fn clone(&self) -> ResolvedAction<A>
fn clone(&self) -> ResolvedAction<A>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<A: Debug + ActionSpec> Debug for ResolvedAction<A>
impl<A: Debug + ActionSpec> Debug for ResolvedAction<A>
Source§impl<A: PartialEq + ActionSpec> PartialEq for ResolvedAction<A>
impl<A: PartialEq + ActionSpec> PartialEq for ResolvedAction<A>
Source§fn eq(&self, other: &ResolvedAction<A>) -> bool
fn eq(&self, other: &ResolvedAction<A>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<A> TryFrom<ResolvedAction<A>> for ResolvedActionRecord
impl<A> TryFrom<ResolvedAction<A>> for ResolvedActionRecord
Source§impl<A> TryFrom<ResolvedActionRecord> for ResolvedAction<A>where
A: ActionSpec,
impl<A> TryFrom<ResolvedActionRecord> for ResolvedAction<A>where
A: ActionSpec,
Source§type Error = ActionCodecError
type Error = ActionCodecError
The type returned in the event of a conversion error.
impl<A: ActionSpec> StructuralPartialEq for ResolvedAction<A>
Auto Trait Implementations§
impl<A> Freeze for ResolvedAction<A>
impl<A> RefUnwindSafe for ResolvedAction<A>
impl<A> Send for ResolvedAction<A>
impl<A> Sync for ResolvedAction<A>
impl<A> Unpin for ResolvedAction<A>
impl<A> UnsafeUnpin for ResolvedAction<A>
impl<A> UnwindSafe for ResolvedAction<A>
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