pub trait Node { // Required methods fn name(&self) -> String; fn path(&self) -> PathBuf; fn parent_node(&self) -> Weak<RefCell<DirectoryNode>>; }