Enum gen_lsp_server::RawMessage [−][src]
pub enum RawMessage { Request(RawRequest), Notification(RawNotification), Response(RawResponse), }
Variants
Request(RawRequest)
Notification(RawNotification)
Response(RawResponse)
Methods
impl RawMessage
[src]
impl RawMessage
pub fn read(
r: &mut impl BufRead
) -> Result<Option<RawMessage>>
[src]
pub fn read(
r: &mut impl BufRead
) -> Result<Option<RawMessage>>
pub fn write(
self,
w: &mut impl Write
) -> Result<()>
[src]
pub fn write(
self,
w: &mut impl Write
) -> Result<()>
Trait Implementations
impl Debug for RawMessage
[src]
impl Debug for RawMessage
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for RawMessage
[src]
impl Clone for RawMessage
fn clone(&self) -> RawMessage
[src]
fn clone(&self) -> RawMessage
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for RawMessage
impl Send for RawMessage
impl Sync for RawMessage
impl Sync for RawMessage