pub enum RemoteServiceWireOutcome {
Success(Vec<u8>),
Failed(String),
Cancelled(CancelReason),
Panicked(String),
}Expand description
Stable terminal-outcome representation used by the remote-service adapter.
Variants§
Success(Vec<u8>)
Handler returned serialized output bytes.
Failed(String)
Handler returned an application failure.
Cancelled(CancelReason)
Handler completed through cancellation.
Panicked(String)
Handler reported a panic boundary.
Trait Implementations§
Source§impl Clone for RemoteServiceWireOutcome
impl Clone for RemoteServiceWireOutcome
Source§fn clone(&self) -> RemoteServiceWireOutcome
fn clone(&self) -> RemoteServiceWireOutcome
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 Debug for RemoteServiceWireOutcome
impl Debug for RemoteServiceWireOutcome
Source§impl<'de> Deserialize<'de> for RemoteServiceWireOutcome
impl<'de> Deserialize<'de> for RemoteServiceWireOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RemoteServiceWireOutcome
Source§impl From<RemoteOutcome> for RemoteServiceWireOutcome
impl From<RemoteOutcome> for RemoteServiceWireOutcome
Source§fn from(outcome: RemoteOutcome) -> Self
fn from(outcome: RemoteOutcome) -> Self
Converts to this type from the input type.
Source§impl From<RemoteServiceWireOutcome> for RemoteOutcome
impl From<RemoteServiceWireOutcome> for RemoteOutcome
Source§fn from(outcome: RemoteServiceWireOutcome) -> Self
fn from(outcome: RemoteServiceWireOutcome) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RemoteServiceWireOutcome
impl PartialEq for RemoteServiceWireOutcome
Source§impl Serialize for RemoteServiceWireOutcome
impl Serialize for RemoteServiceWireOutcome
impl StructuralPartialEq for RemoteServiceWireOutcome
Auto Trait Implementations§
impl Freeze for RemoteServiceWireOutcome
impl RefUnwindSafe for RemoteServiceWireOutcome
impl Send for RemoteServiceWireOutcome
impl Sync for RemoteServiceWireOutcome
impl Unpin for RemoteServiceWireOutcome
impl UnsafeUnpin for RemoteServiceWireOutcome
impl UnwindSafe for RemoteServiceWireOutcome
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).