Function serde_xdr::to_bytes
[−]
[src]
pub fn to_bytes<T>(value: &T) -> Result<Vec<u8>> where
T: Serialize,
Serialize data into a vector of bytes.
Serializes a generic data type into a new instance of Vec<u8>
.