1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Module for model file format enum.

use std::fmt::Display;

/// The model file format enumeration.
pub enum ModelFileFormat {
    /// The safetensors format.
    Safetensors
}

impl Display for ModelFileFormat {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        match self {
            ModelFileFormat::Safetensors => write!(f, "safetensors")
        }
    }
}