Struct clarity_repl::repl::debug::dap::codec::DebugAdapterCodec
source · pub struct DebugAdapterCodec<T> { /* private fields */ }Expand description
Encodes and decodes Language Server Protocol messages.
Trait Implementations§
source§impl<T: DeserializeOwned> Decoder for DebugAdapterCodec<T>
impl<T: DeserializeOwned> Decoder for DebugAdapterCodec<T>
§type Error = ParseError
type Error = ParseError
The type of unrecoverable frame decoding errors. Read more
source§fn decode(
&mut self,
src: &mut BytesMut
) -> Result<Option<Self::Item>, Self::Error>
fn decode( &mut self, src: &mut BytesMut ) -> Result<Option<Self::Item>, Self::Error>
Attempts to decode a frame from the provided buffer of bytes. Read more
source§impl<T> Default for DebugAdapterCodec<T>
impl<T> Default for DebugAdapterCodec<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for DebugAdapterCodec<T>where T: RefUnwindSafe,
impl<T> Send for DebugAdapterCodec<T>where T: Send,
impl<T> Sync for DebugAdapterCodec<T>where T: Sync,
impl<T> Unpin for DebugAdapterCodec<T>where T: Unpin,
impl<T> UnwindSafe for DebugAdapterCodec<T>where T: UnwindSafe,
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
§impl<T> InitializableFromZeroed for Twhere
T: Default,
impl<T> InitializableFromZeroed for Twhere T: Default,
§unsafe fn initialize(place: *mut T)
unsafe fn initialize(place: *mut T)
Called to initialize a place to a valid value, after it is set
to all-bits-zero. Read more