[][src]Trait abi_stable::erased_types::DeserializeDyn

pub trait DeserializeDyn<'borr, D> {
    type Proxy;
    pub fn deserialize_dyn(s: Self::Proxy) -> Result<D, RBoxError>;
}

Describes how D is deserialized,using a proxy to do so.

Generally this delegates to a library function, so that the implementation can be delegated to the implementation crate.

Associated Types

type Proxy[src]

The type that is deserialized and then converted into D, with DeserializeDyn::deserialize_dyn.

Loading content...

Required methods

pub fn deserialize_dyn(s: Self::Proxy) -> Result<D, RBoxError>[src]

Converts the proxy type into D.

Loading content...

Implementors

Loading content...