XdrSignature

Trait XdrSignature 

Source
pub trait XdrSignature {
    // Required methods
    fn to_xdr(&self) -> Result<Signature>;
    fn from_xdr(x: &Signature) -> Result<Signature>;
}

Required Methods§

Source

fn to_xdr(&self) -> Result<Signature>

Returns xdr object.

Source

fn from_xdr(x: &Signature) -> Result<Signature>

Creates from xdr object.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§