pub struct LspDecoder { /* private fields */ }
Trait Implementations§
Source§impl Decoder for LspDecoder
impl Decoder for LspDecoder
Source§fn decode(
&mut self,
buf: &mut BytesMut,
) -> Result<Option<Self::Item>, Self::Error>
fn decode( &mut self, buf: &mut BytesMut, ) -> Result<Option<Self::Item>, Self::Error>
Attempts to decode a frame from the provided buffer of bytes. Read more
Source§impl Default for LspDecoder
impl Default for LspDecoder
Source§fn default() -> LspDecoder
fn default() -> LspDecoder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LspDecoder
impl RefUnwindSafe for LspDecoder
impl Send for LspDecoder
impl Sync for LspDecoder
impl Unpin for LspDecoder
impl UnwindSafe for LspDecoder
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