1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
use std::fmt;

// TODO: FileBox Implementation
pub struct FileBox {}

impl FileBox {
    pub fn to_string(&self) -> String {
        String::new()
    }
}

impl fmt::Display for FileBox {
    fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
        write!(fmt, "{}", self.to_string())
    }
}

impl From<String> for FileBox {
    fn from(_: String) -> Self {
        Self {}
    }
}