Struct jsonrpc_server_utils::codecs::StreamCodec
source · pub struct StreamCodec { /* private fields */ }
Expand description
Stream codec for streaming protocols (ipc, tcp)
Implementations§
source§impl StreamCodec
impl StreamCodec
Trait Implementations§
source§impl Debug for StreamCodec
impl Debug for StreamCodec
source§impl Decoder for StreamCodec
impl Decoder for StreamCodec
source§fn decode(&mut self, buf: &mut BytesMut) -> Result<Option<Self::Item>>
fn decode(&mut self, buf: &mut BytesMut) -> Result<Option<Self::Item>>
Attempts to decode a frame from the provided buffer of bytes. Read more
source§impl Default for StreamCodec
impl Default for StreamCodec
source§fn default() -> StreamCodec
fn default() -> StreamCodec
Returns the “default value” for a type. Read more