pub struct FastCodec;Implementations§
Source§impl FastCodec
impl FastCodec
pub fn is_fast_request_prefix(byte: u8) -> bool
pub fn decode_request(buffer: &[u8]) -> Result<FastRequestDecodeResult<'_>>
pub fn encode_request(request: &FastRequest<'_>, out: &mut Vec<u8>)
pub fn encode_response(response: &FastResponse, out: &mut Vec<u8>)
pub fn decode_response(buffer: &[u8]) -> Result<FastResponseDecodeResult>
Trait Implementations§
impl Copy for FastCodec
Auto Trait Implementations§
impl Freeze for FastCodec
impl RefUnwindSafe for FastCodec
impl Send for FastCodec
impl Sync for FastCodec
impl Unpin for FastCodec
impl UnsafeUnpin for FastCodec
impl UnwindSafe for FastCodec
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