pub struct RemotingCommandCodec;Implementations§
Trait Implementations§
source§impl Clone for RemotingCommandCodec
impl Clone for RemotingCommandCodec
source§fn clone(&self) -> RemotingCommandCodec
fn clone(&self) -> RemotingCommandCodec
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RemotingCommandCodec
impl Debug for RemotingCommandCodec
source§impl Decoder for RemotingCommandCodec
impl Decoder for RemotingCommandCodec
§type Item = RemotingCommand
type Item = RemotingCommand
The type of decoded frames.
§type Error = RemotingError
type Error = RemotingError
The type of unrecoverable frame decoding errors. Read more
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 RemotingCommandCodec
impl Default for RemotingCommandCodec
Auto Trait Implementations§
impl RefUnwindSafe for RemotingCommandCodec
impl Send for RemotingCommandCodec
impl Sync for RemotingCommandCodec
impl Unpin for RemotingCommandCodec
impl UnwindSafe for RemotingCommandCodec
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