[][src]Trait atm::storage::PathGenerator

pub trait PathGenerator {
    fn gen_path_for_file(
        &self,
        mfile: &MIDIFile
    ) -> Result<String, PathGeneratorError>; }

Trait to generate storage path for MIDI files in storage backends

Required methods

fn gen_path_for_file(
    &self,
    mfile: &MIDIFile
) -> Result<String, PathGeneratorError>

Generate storage path for MIDI file

Loading content...

Implementors

impl PathGenerator for MIDIHashPathGenerator[src]

impl PathGenerator for PartitionPathGenerator[src]

Loading content...