Struct job_security_protocol::MapCodec
source · pub struct MapCodec<T, EI, DO, R, W, FD, FE> { /* private fields */ }Implementations§
Trait Implementations§
source§impl<T, EI, DO, R, W, FD: FnMut(DO) -> R, FE> Decoder for MapCodec<T, EI, DO, R, W, FD, FE>where
T: Decoder<Item = DO>,
impl<T, EI, DO, R, W, FD: FnMut(DO) -> R, FE> Decoder for MapCodec<T, EI, DO, R, W, FD, FE>where T: Decoder<Item = DO>,
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, EI, DO, R, W, FD, FE> RefUnwindSafe for MapCodec<T, EI, DO, R, W, FD, FE>where FD: RefUnwindSafe, FE: RefUnwindSafe, T: RefUnwindSafe,
impl<T, EI, DO, R, W, FD, FE> Send for MapCodec<T, EI, DO, R, W, FD, FE>where FD: Send, FE: Send, T: Send,
impl<T, EI, DO, R, W, FD, FE> Sync for MapCodec<T, EI, DO, R, W, FD, FE>where FD: Sync, FE: Sync, T: Sync,
impl<T, EI, DO, R, W, FD, FE> Unpin for MapCodec<T, EI, DO, R, W, FD, FE>where FD: Unpin, FE: Unpin, T: Unpin,
impl<T, EI, DO, R, W, FD, FE> UnwindSafe for MapCodec<T, EI, DO, R, W, FD, FE>where FD: UnwindSafe, FE: UnwindSafe, 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