pub enum LSPS0Message {
Request(RequestId, LSPS0Request),
Response(RequestId, LSPS0Response),
}
Expand description
An LSPS0 protocol message.
Please refer to the LSPS0 specification for more information.
Variants§
Request(RequestId, LSPS0Request)
A request variant.
Response(RequestId, LSPS0Response)
A response variant.
Trait Implementations§
Source§impl Clone for LSPS0Message
impl Clone for LSPS0Message
Source§fn clone(&self) -> LSPS0Message
fn clone(&self) -> LSPS0Message
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 LSPS0Message
impl Debug for LSPS0Message
Source§impl From<LSPS0Message> for LSPSMessage
impl From<LSPS0Message> for LSPSMessage
Source§fn from(message: LSPS0Message) -> Self
fn from(message: LSPS0Message) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LSPS0Message
impl PartialEq for LSPS0Message
Source§impl TryFrom<LSPSMessage> for LSPS0Message
impl TryFrom<LSPSMessage> for LSPS0Message
impl Eq for LSPS0Message
impl StructuralPartialEq for LSPS0Message
Auto Trait Implementations§
impl Freeze for LSPS0Message
impl RefUnwindSafe for LSPS0Message
impl Send for LSPS0Message
impl Sync for LSPS0Message
impl Unpin for LSPS0Message
impl UnwindSafe for LSPS0Message
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