pub struct TarantoolCodec { /* private fields */ }Expand description
Tokio framed codec for tarantool use it if you want manually set it on your tokio framed transport
Trait Implementations§
Source§impl Debug for TarantoolCodec
impl Debug for TarantoolCodec
Source§impl Decoder for TarantoolCodec
impl Decoder for TarantoolCodec
Source§fn decode(
&mut self,
buf: &mut BytesMut,
) -> Result<Option<(RequestId, Result<TarantoolResponse>)>>
fn decode( &mut self, buf: &mut BytesMut, ) -> Result<Option<(RequestId, Result<TarantoolResponse>)>>
Attempts to decode a frame from the provided buffer of bytes. Read more
Source§impl Default for TarantoolCodec
impl Default for TarantoolCodec
Auto Trait Implementations§
impl Freeze for TarantoolCodec
impl RefUnwindSafe for TarantoolCodec
impl Send for TarantoolCodec
impl Sync for TarantoolCodec
impl Unpin for TarantoolCodec
impl UnsafeUnpin for TarantoolCodec
impl UnwindSafe for TarantoolCodec
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