Hydrate

Trait Hydrate 

Source
pub trait Hydrate {
    type Output;

    // Required method
    fn hydrate(self, file: &Arc<PathBuf>, buffer: &String) -> Self::Output;
}
Expand description

Hydrate is used to translate a json_spanned::Spanned type to a ContextSpanned type. The ContextSpanned type is used by validation.

Required Associated Types§

Required Methods§

Source

fn hydrate(self, file: &Arc<PathBuf>, buffer: &String) -> Self::Output

Implementors§