toml-input 0.1.4

# A library to generate toml text with clear options and comments
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use thiserror::Error;
#[derive(Debug, Clone, Error)]
pub enum Error {
    #[error("serializing a type failed: {0}")]
    TomlSerError(#[from] toml::ser::Error),
    #[error("from_str error: {0}")]
    FromStrError(String),
    #[error("root node must be Struct type")]
    RootMustStruct,
    #[error("enum no variant")]
    EnumEmpty,
    #[error("enum style error: {0}")]
    EnumStyleError(String),
}