opencli 0.1.1

OpenCLI struct definitions for serializing and deserializing
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::io;
use thiserror::Error;

#[derive(Error, Debug)]
pub enum Error {
    #[error("Parsing error")]
    Parse(#[from] serde_json::Error),
    #[error("Filesystem access error")]
    Io(#[from] io::Error),
    #[error("Other error")]
    Other(&'static str),
}