Trait stellar_xdr::curr::WriteXdr
source · pub trait WriteXdr {
// Required method
fn write_xdr(&self, w: &mut impl Write) -> Result<(), Error>;
// Provided methods
fn to_xdr(&self) -> Result<Vec<u8>, Error> { ... }
fn to_xdr_base64(&self) -> Result<String, Error> { ... }
}
Available on crate feature
curr
only.Required Methods§
Provided Methods§
sourcefn to_xdr_base64(&self) -> Result<String, Error>
fn to_xdr_base64(&self) -> Result<String, Error>
Available on crate feature
base64
only.