Function carbide_core::to_bin[][src]

pub fn to_bin<T>(value: &T) -> Result<Vec<u8, Global>, Box<ErrorKind, Global>> where
    T: Serialize + ?Sized

Serializes a serializable object into a Vec of bytes using the default configuration.