pub enum ProxyResponse {
Ok {
resp_key: Key,
seq_no: u32,
body: Vec<u8>,
},
WireErr {
resp_key: Key,
seq_no: u32,
body: WireError,
},
OtherErr(String),
}Variants§
Trait Implementations§
Source§impl Debug for ProxyResponse
impl Debug for ProxyResponse
Source§impl<'de> Deserialize<'de> for ProxyResponse
impl<'de> Deserialize<'de> for ProxyResponse
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 ProxyResponse
impl PartialEq for ProxyResponse
Source§impl Schema for ProxyResponse
impl Schema for ProxyResponse
Source§impl Serialize for ProxyResponse
impl Serialize for ProxyResponse
impl StructuralPartialEq for ProxyResponse
Auto Trait Implementations§
impl Freeze for ProxyResponse
impl RefUnwindSafe for ProxyResponse
impl Send for ProxyResponse
impl Sync for ProxyResponse
impl Unpin for ProxyResponse
impl UnwindSafe for ProxyResponse
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