pack

Function pack 

Source
pub fn pack<T: Pack>(t: &T) -> Result<BytesMut, PackError>
Expand description

pack T and return a bytesmut from the global thread local buffer