pub struct PgCodec;Implementations§
Trait Implementations§
Source§impl Decoder for PgCodec
impl Decoder for PgCodec
Source§type Item = BackendMessage
type Item = BackendMessage
The type of decoded frames.
Source§fn decode(&mut self, src: &mut BytesMut) -> Result<Option<Self::Item>>
fn decode(&mut self, src: &mut BytesMut) -> Result<Option<Self::Item>>
Attempts to decode a frame from the provided buffer of bytes. Read more
Auto Trait Implementations§
impl Freeze for PgCodec
impl RefUnwindSafe for PgCodec
impl Send for PgCodec
impl Sync for PgCodec
impl Unpin for PgCodec
impl UnsafeUnpin for PgCodec
impl UnwindSafe for PgCodec
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