run

Function run 

Source
pub fn run<T, I, E>(
    deserialize: impl Fn(I) -> Result<Value, E>,
    decoder: impl Decoder<Output = T>,
    input: I,
) -> Result<T>
where E: Error + Send + Sync + 'static,
Expand description

Runs a Decoder using the given function to deserialize a Value from the given input.