Trait atrium_api::types::TryIntoUnknown

source ·
pub trait TryIntoUnknown {
    type Error;

    // Required method
    fn try_into_unknown(self) -> Result<Unknown, Self::Error>;
}
Expand description

Trait for types that can be serialized into an Unknown value.

Required Associated Types§

Required Methods§

Implementors§

source§

impl<T> TryIntoUnknown for T
where T: Serialize,

§

type Error = Error