pub struct RtuClientCodec;Expand description
Mutual convert RTU Client frames and buffers.
Trait Implementations§
Source§impl Debug for RtuClientCodec
impl Debug for RtuClientCodec
Source§impl Decoder for RtuClientCodec
impl Decoder for RtuClientCodec
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 RtuClientCodec
impl Default for RtuClientCodec
Source§fn default() -> RtuClientCodec
fn default() -> RtuClientCodec
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RtuClientCodec
impl RefUnwindSafe for RtuClientCodec
impl Send for RtuClientCodec
impl Sync for RtuClientCodec
impl Unpin for RtuClientCodec
impl UnwindSafe for RtuClientCodec
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