pub enum AppFacadeResponse {
Result {
result: FacadeResult,
},
Prepared {
action: PreparedAction,
},
Rejected,
Failed {
code: String,
message: String,
retry_after_ms: Option<u64>,
},
}Expand description
Result of an App Facade request transported back to Runtime.
Variants§
Result
Read-only or committed operation result.
Fields
§
result: FacadeResultStructured App Facade result.
Prepared
Prepared operation awaiting a commit or rejection.
Fields
§
action: PreparedActionPrepared action.
Rejected
Rejection completed successfully.
Failed
Stable error safe to expose across the transport.
Trait Implementations§
Source§impl Clone for AppFacadeResponse
impl Clone for AppFacadeResponse
Source§fn clone(&self) -> AppFacadeResponse
fn clone(&self) -> AppFacadeResponse
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 AppFacadeResponse
impl Debug for AppFacadeResponse
Source§impl<'de> Deserialize<'de> for AppFacadeResponse
impl<'de> Deserialize<'de> for AppFacadeResponse
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
Source§impl PartialEq for AppFacadeResponse
impl PartialEq for AppFacadeResponse
Source§impl Serialize for AppFacadeResponse
impl Serialize for AppFacadeResponse
impl StructuralPartialEq for AppFacadeResponse
Auto Trait Implementations§
impl Freeze for AppFacadeResponse
impl RefUnwindSafe for AppFacadeResponse
impl Send for AppFacadeResponse
impl Sync for AppFacadeResponse
impl Unpin for AppFacadeResponse
impl UnsafeUnpin for AppFacadeResponse
impl UnwindSafe for AppFacadeResponse
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