Trait shuttle_core::FromXdr [] [src]

pub trait FromXdr<'de, T: Deserialize<'de>>: Sized {
    fn from_xdr(other: T) -> Result<Self>;

    fn from_reader<R: Read>(r: &mut R) -> Result<Self> { ... }
fn from_base64(input: &str) -> Result<Self> { ... } }

A trait to try and deserialize an XDR object into some type.

Required Methods

Build the type from the XDR other object .

Provided Methods

Deserialize from a reader r.

Deserialize from base64.

Implementors