pub enum ClientInbound {
Request(JsonRpcRequest),
Response(JsonRpcResponse),
Notification(JsonRpcNotification),
}Expand description
Inbound message from client to server.
Variants§
Request(JsonRpcRequest)
A request from the client that expects a response.
Response(JsonRpcResponse)
A response to a server request.
Notification(JsonRpcNotification)
A notification from the client.
Trait Implementations§
Source§impl Clone for ClientInbound
impl Clone for ClientInbound
Source§fn clone(&self) -> ClientInbound
fn clone(&self) -> ClientInbound
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 moreAuto Trait Implementations§
impl Freeze for ClientInbound
impl RefUnwindSafe for ClientInbound
impl Send for ClientInbound
impl Sync for ClientInbound
impl Unpin for ClientInbound
impl UnwindSafe for ClientInbound
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