pub struct DaemonCodec { /* private fields */ }Implementations§
Source§impl DaemonCodec
impl DaemonCodec
Trait Implementations§
Source§impl Decoder for DaemonCodec
impl Decoder for DaemonCodec
Source§type Item = ClientMessage
type Item = ClientMessage
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
Source§impl Default for DaemonCodec
impl Default for DaemonCodec
Auto Trait Implementations§
impl Freeze for DaemonCodec
impl RefUnwindSafe for DaemonCodec
impl Send for DaemonCodec
impl Sync for DaemonCodec
impl Unpin for DaemonCodec
impl UnwindSafe for DaemonCodec
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