pub trait NoteFromFile: Note{
// Required method
fn from_file(path: impl AsRef<Path>) -> Result<Self, Self::Error>;
}Available on non-
target_family=wasm only.Expand description
Trait for parses an Obsidian note from a file
Required Methods§
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.