pub struct TelnetCodec { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Debug for TelnetCodec
impl Debug for TelnetCodec
Source§impl Decoder for TelnetCodec
impl Decoder for TelnetCodec
Source§type Item = TelnetEvent
type Item = TelnetEvent
The type of decoded frames.
Source§fn decode(
&mut self,
src: &mut BytesMut,
) -> Result<Option<Self::Item>, Self::Error>
fn decode( &mut self, src: &mut BytesMut, ) -> Result<Option<Self::Item>, Self::Error>
Attempts to decode a frame from the provided buffer of bytes. Read more
Source§impl Default for TelnetCodec
impl Default for TelnetCodec
Auto Trait Implementations§
impl Freeze for TelnetCodec
impl RefUnwindSafe for TelnetCodec
impl Send for TelnetCodec
impl Sync for TelnetCodec
impl Unpin for TelnetCodec
impl UnwindSafe for TelnetCodec
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