pub trait ToXdr { // Required method fn to_xdr(self, env: &Env) -> Bytes; }
Implemented by types that can be serialized to Bytes.
All types that are convertible to Val are implemented.