episko_lib 1.3.1

Library for episko project
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::config::Config;

use super::{file_handler::FileHandler, File, Result};

impl File for Config {
    fn write_file(&self, path: &std::path::Path) -> Result<()> {
        FileHandler::write_file(self, path)
    }

    fn from_file(path: &std::path::Path) -> Result<Self> {
        FileHandler::read_file(path)
    }
}