pub enum ExtReply {
Ok(Value),
Error(ExtFailure),
}Expand description
A provider’s answer: {"ok": <value>} or
{"error": {"code": …, "message": …}}.
Variants§
Ok(Value)
Error(ExtFailure)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ExtReply
impl<'de> Deserialize<'de> for ExtReply
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 StructuralPartialEq for ExtReply
Auto Trait Implementations§
impl Freeze for ExtReply
impl RefUnwindSafe for ExtReply
impl Send for ExtReply
impl Sync for ExtReply
impl Unpin for ExtReply
impl UnsafeUnpin for ExtReply
impl UnwindSafe for ExtReply
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