pub struct CallOutcome {
pub token: CallToken,
pub id: Option<MessageId>,
pub action: String,
pub result: Result<Answer, CallFailure>,
}Expand description
The final result of a call the application started.
Fields§
§token: CallTokenThe handle returned by Engine::call.
id: Option<MessageId>The MessageId it was sent with, if it ever reached the wire.
action: StringThe action.
result: Result<Answer, CallFailure>How it ended.
Trait Implementations§
Source§impl Clone for CallOutcome
impl Clone for CallOutcome
Source§fn clone(&self) -> CallOutcome
fn clone(&self) -> CallOutcome
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 moreAuto Trait Implementations§
impl Freeze for CallOutcome
impl RefUnwindSafe for CallOutcome
impl Send for CallOutcome
impl Sync for CallOutcome
impl Unpin for CallOutcome
impl UnsafeUnpin for CallOutcome
impl UnwindSafe for CallOutcome
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