1 2 3 4 5
use std::path::Path; pub trait FolderOpener: Send + Sync { fn open(&self, path: &Path) -> Result<(), String>; }