pub enum ServerEnvelope {
Message(ServerMessage),
Request {
request_id: RequestId,
request: ServerRequest,
},
Response {
response_to: RequestId,
response: ServerResponse,
},
}Variants§
Implementations§
Source§impl ServerEnvelope
impl ServerEnvelope
Trait Implementations§
Source§impl Clone for ServerEnvelope
impl Clone for ServerEnvelope
Source§fn clone(&self) -> ServerEnvelope
fn clone(&self) -> ServerEnvelope
Returns a duplicate of the value. Read more
1.0.0 · 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 ServerEnvelope
impl Debug for ServerEnvelope
Source§impl PartialEq for ServerEnvelope
impl PartialEq for ServerEnvelope
impl Eq for ServerEnvelope
impl StructuralPartialEq for ServerEnvelope
Auto Trait Implementations§
impl Freeze for ServerEnvelope
impl RefUnwindSafe for ServerEnvelope
impl Send for ServerEnvelope
impl Sync for ServerEnvelope
impl Unpin for ServerEnvelope
impl UnsafeUnpin for ServerEnvelope
impl UnwindSafe for ServerEnvelope
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