pub struct TcpClientCodec;Expand description
Mutual convert TCP Client frames and buffers.
Trait Implementations§
Source§impl Debug for TcpClientCodec
 
impl Debug for TcpClientCodec
Source§impl Decoder for TcpClientCodec
 
impl Decoder for TcpClientCodec
Source§fn decode(&mut self, src: &mut BytesMut) -> Result<Option<Response>>
 
fn decode(&mut self, src: &mut BytesMut) -> Result<Option<Response>>
Attempts to decode a frame from the provided buffer of bytes. Read more
Source§impl Default for TcpClientCodec
 
impl Default for TcpClientCodec
Source§fn default() -> TcpClientCodec
 
fn default() -> TcpClientCodec
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TcpClientCodec
impl RefUnwindSafe for TcpClientCodec
impl Send for TcpClientCodec
impl Sync for TcpClientCodec
impl Unpin for TcpClientCodec
impl UnwindSafe for TcpClientCodec
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