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

pub trait Deserializer {
    pub fn deserialize(
        &self,
        contents: &str,
        url: Option<&str>
    ) -> Result<Process>;
pub 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

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

pub fn name(&self) -> &'static str[src]

Loading content...

Implementors

Loading content...