Datapath

Trait Datapath 

Source
pub trait Datapath
where Self: Send + Sync + 'static + Clone + Sized + Eq + PartialEq + Hash + Debug + Display,
{ // Required methods fn with_file(&self, file: impl Into<String>) -> DatapathFile<Self>; fn parse(path: &str) -> Option<DatapathFile<Self>>; }

Required Methods§

Source

fn with_file(&self, file: impl Into<String>) -> DatapathFile<Self>

Returns a DatapathFile with the given file at this datapath

Source

fn parse(path: &str) -> Option<DatapathFile<Self>>

Parse a string as this datapath with a (possibly empty-string) file, returning None if this string is invalid.

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§