Trait soroban_sdk::xdr::curr::WriteXdr
pub trait WriteXdr {
// Required method
fn write_xdr<W>(&self, w: &mut DepthLimitedWrite<W>) -> Result<(), Error>
where W: Write;
// Provided methods
fn to_xdr_with_depth_limit(
&self,
depth_limit: u32
) -> Result<Vec<u8, Global>, Error> { ... }
fn to_xdr(&self) -> Result<Vec<u8, Global>, Error> { ... }
fn to_xdr_base64_with_depth_limit(
&self,
depth_limit: u32
) -> Result<String, Error> { ... }
fn to_xdr_base64(&self) -> Result<String, Error> { ... }
}