Skip to main content

Node

Trait Node 

Source
pub trait Node {
    // Required methods
    fn path(&self) -> Path;
    fn process(&self, arg: &dyn Arg) -> NodeResult;
}

Required Methods§

Source

fn path(&self) -> Path

Source

fn process(&self, arg: &dyn Arg) -> NodeResult

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§