pub trait SegmentBuilder: Default {
// Required method
fn new_segment_path(&self) -> PathBuf;
}Expand description
Trait that contains everything we need to deals with unique segment creation.
Required Methods§
Sourcefn new_segment_path(&self) -> PathBuf
fn new_segment_path(&self) -> PathBuf
Create path for new unique segment.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".