Enum hrana_client_proto::ServerMsg
source · pub enum ServerMsg {
HelloOk {},
HelloError {
error: Error,
},
ResponseOk {
request_id: i32,
response: Response,
},
ResponseError {
request_id: i32,
error: Error,
},
}
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for ServerMsg
impl<'de> Deserialize<'de> for ServerMsg
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
Auto Trait Implementations§
impl RefUnwindSafe for ServerMsg
impl Send for ServerMsg
impl Sync for ServerMsg
impl Unpin for ServerMsg
impl UnwindSafe for ServerMsg
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