pub enum ServiceOutcome {
Ok {
result: VaultOpResult,
},
Err {
error: ServiceError,
},
}Expand description
Outcome envelope for IpcMessage::ServiceResult.
Variants§
Trait Implementations§
Source§impl Clone for ServiceOutcome
impl Clone for ServiceOutcome
Source§fn clone(&self) -> ServiceOutcome
fn clone(&self) -> ServiceOutcome
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 ServiceOutcome
impl Debug for ServiceOutcome
Source§impl<'de> Deserialize<'de> for ServiceOutcome
impl<'de> Deserialize<'de> for ServiceOutcome
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 From<ServiceError> for ServiceOutcome
impl From<ServiceError> for ServiceOutcome
Source§fn from(error: ServiceError) -> Self
fn from(error: ServiceError) -> Self
Converts to this type from the input type.
Source§impl From<VaultOpResult> for ServiceOutcome
impl From<VaultOpResult> for ServiceOutcome
Source§fn from(result: VaultOpResult) -> Self
fn from(result: VaultOpResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ServiceOutcome
impl RefUnwindSafe for ServiceOutcome
impl Send for ServiceOutcome
impl Sync for ServiceOutcome
impl Unpin for ServiceOutcome
impl UnsafeUnpin for ServiceOutcome
impl UnwindSafe for ServiceOutcome
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