prefixload 0.3.1

S3 cli backup by file name prefix
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use thiserror::Error;

#[derive(Debug, Error)]
pub enum PrefixloadError {
    #[error("Error [IO]: {0}")]
    Io(#[from] std::io::Error),

    #[error("Error [Serde YAML]: {0}")]
    SerdeYAML(#[from] serde_yaml::Error),

    #[error("Error [Syntect]: {0}")]
    Syntect(#[from] syntect::Error),
}

pub type Result<T> = std::result::Result<T, PrefixloadError>;