[][src]Trait flowclib::compiler::loader::Deserializer

pub trait Deserializer {
    fn deserialize(&self, contents: &str, url: Option<&str>) -> Result<Process>;
fn name(&self) -> &'static str; }

All deserializers have to implement this trait for content deserialization, plus a method to return their name to be able to inform the user of which deserializer was used

Required methods

fn deserialize(&self, contents: &str, url: Option<&str>) -> Result<Process>

fn name(&self) -> &'static str

Loading content...

Implementors

Loading content...