JsonPsr

Trait JsonPsr 

Source
pub trait JsonPsr {
    type Out<'out, T>
       where Self: 'out;

    // Required method
    fn parse_into<T: Deserialize>(&self) -> Self::Out<'_, T>;
}

Required Associated Types§

Source

type Out<'out, T> where Self: 'out

Required Methods§

Source

fn parse_into<T: Deserialize>(&self) -> Self::Out<'_, T>

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§

Source§

impl<'out> JsonPsr for JsonOutput<'out>

Source§

type Out<'o, T> = Result<T, JsonError> where Self: 'o