pub struct FastRpc;Expand description
This type implements the functions necessary for the Fast protocl framing.
Trait Implementations§
Source§impl Decoder for FastRpc
impl Decoder for FastRpc
Source§type Item = Vec<FastMessage>
type Item = Vec<FastMessage>
The type of decoded frames.
Source§fn decode(&mut self, buf: &mut BytesMut) -> Result<Option<Self::Item>, Error>
fn decode(&mut self, buf: &mut BytesMut) -> Result<Option<Self::Item>, Error>
Attempts to decode a frame from the provided buffer of bytes. Read more
Auto Trait Implementations§
impl Freeze for FastRpc
impl RefUnwindSafe for FastRpc
impl Send for FastRpc
impl Sync for FastRpc
impl Unpin for FastRpc
impl UnwindSafe for FastRpc
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