pub fn encode<'buf, T>(&self, request: &T, buffer: &'buf mut [u8])
    where
        T: Serialize,
    {
        self.config
            .serialize_into(&mut buffer[..], &request)
            .unwrap();
    }
/// Encode a CQC request packet into buffer of bytes.
///
/// If the provided buffer is not large enough to encode the request
/// `encode_request` will panic.
Encode a CQC request packet into buffer of bytes.
If the provided buffer is not large enough to encode the request
`encode_request` will panic.
Encode a CQC request packet into buffer of bytes . If the provided buffer is not large enough to encode the request ` encode_request ` will panic .
pub fn encode<'buf, T>(&self, request: &T, buffer: &'buf mut [u8])
    where
        T: Serialize,
    {
        self.config
            .serialize_into(&mut buffer[..], &request)
            .unwrap();
    }
pub fn encode < ' buf , T > ( & self , request : & T , buffer : & ' buf mut [ u8 ] ) where T : Serialize , { self . config . serialize_into ( & mut buffer [ .. ] , & request ) . unwrap ( ) ; }
Encode a CQC request packet into buffer of bytes.
Encode a CQC request packet into buffer of bytes .
&self
request
&T
buffer
&'buf mut [u8]
&self
request
&T
buffer
&'buf mut [u8]