hbackup 0.5.6

hbackup is a sample, high-performance, cross-platform backup tool written in Rust. It is designed to be fast, efficient, and easy to use, with a focus on performance and reliability.
Documentation
use std::{io, path::PathBuf};
use thiserror::Error;

#[derive(Debug, Error)]
pub enum HbackupError {
    #[error("path not found: {0}")]
    PathNotFound(PathBuf),

    #[error("permission denied: {0}")]
    PermissionDenied(PathBuf),

    #[error("compression cannot be used with mirror backup model")]
    InvalidCompressionForMirror,

    #[error("io error: {0}")]
    IoError(#[from] io::Error),

    #[error("maximum number of jobs reached ({0})")]
    TooManyJobs(u32),
}