Struct ppaass_codec::codec::agent::PpaassAgentMessageDecoder
source · pub struct PpaassAgentMessageDecoder<T>where
T: RsaCryptoFetcher,{ /* private fields */ }Implementations§
source§impl<T> PpaassAgentMessageDecoder<T>where
T: RsaCryptoFetcher,
impl<T> PpaassAgentMessageDecoder<T>where
T: RsaCryptoFetcher,
Trait Implementations§
source§impl<T> Decoder for PpaassAgentMessageDecoder<T>where
T: RsaCryptoFetcher,
impl<T> Decoder for PpaassAgentMessageDecoder<T>where
T: RsaCryptoFetcher,
Decode the input bytes buffer to ppaass message
§type Item = PpaassAgentMessage
type Item = PpaassAgentMessage
The type of decoded frames.
§type Error = CodecError
type Error = CodecError
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
Auto Trait Implementations§
impl<T> RefUnwindSafe for PpaassAgentMessageDecoder<T>where
T: RefUnwindSafe,
impl<T> Send for PpaassAgentMessageDecoder<T>where
T: Send,
impl<T> Sync for PpaassAgentMessageDecoder<T>where
T: Sync,
impl<T> Unpin for PpaassAgentMessageDecoder<T>where
T: Unpin,
impl<T> UnwindSafe for PpaassAgentMessageDecoder<T>where
T: UnwindSafe,
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