Trait DescriptorExt

Source
pub trait DescriptorExt {
    // Required methods
    fn resolve_aliases_and_set_defaults(
        &self,
    ) -> Result<BTreeMap<NodeId, ResolvedNode>>;
    fn visualize_as_mermaid(&self) -> Result<String>;
    fn blocking_read(path: &Path) -> Result<Descriptor>;
    fn parse(buf: Vec<u8>) -> Result<Descriptor>;
    fn check(&self, working_dir: &Path) -> Result<()>;
    fn check_in_daemon(
        &self,
        working_dir: &Path,
        coordinator_is_remote: bool,
    ) -> Result<()>;
}

Required Methods§

Source

fn resolve_aliases_and_set_defaults( &self, ) -> Result<BTreeMap<NodeId, ResolvedNode>>

Source

fn visualize_as_mermaid(&self) -> Result<String>

Source

fn blocking_read(path: &Path) -> Result<Descriptor>

Source

fn parse(buf: Vec<u8>) -> Result<Descriptor>

Source

fn check(&self, working_dir: &Path) -> Result<()>

Source

fn check_in_daemon( &self, working_dir: &Path, coordinator_is_remote: bool, ) -> Result<()>

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§