pub trait WriteXdr {
// Required method
fn write_xdr<W: Write>(&self, w: &mut Limited<W>) -> Result<(), Error>;
// Provided methods
fn to_xdr(&self, limits: Limits) -> Result<Vec<u8>, Error> { ... }
fn to_xdr_base64(&self, limits: Limits) -> Result<String, Error> { ... }
}
Available on crate feature
curr
only.Required Methods§
fn write_xdr<W: Write>(&self, w: &mut Limited<W>) -> Result<(), Error>
Available on crate feature
std
only.Provided Methods§
fn to_xdr(&self, limits: Limits) -> Result<Vec<u8>, Error>
Available on crate feature
std
only.fn to_xdr_base64(&self, limits: Limits) -> Result<String, Error>
Available on crate feature
base64
only.Object Safety§
This trait is not object safe.