Trait SegmentBuilder

Source
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§

Source

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", so this trait is not object safe.

Implementors§