Trait soroban_sdk::xdr::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>, Error> { ... }
fn to_xdr(&self) -> Result<Vec<u8>, Error> { ... }
fn to_xdr_base64_with_depth_limit(
&self,
depth_limit: u32
) -> Result<String, Error> { ... }
fn to_xdr_base64(&self) -> Result<String, Error> { ... }
}
Required Methods§
Provided Methods§
fn to_xdr_with_depth_limit(&self, depth_limit: u32) -> Result<Vec<u8>, Error>
fn to_xdr(&self) -> Result<Vec<u8>, Error>
fn to_xdr_base64_with_depth_limit( &self, depth_limit: u32 ) -> Result<String, Error>
fn to_xdr_base64(&self) -> Result<String, Error>
Object Safety§
This trait is not object safe.