Searched defs:TomlError (Results 1 – 5 of 5) sorted by relevance
6 pub struct TomlError { struct13 impl TomlError { implementation92 impl Display for TomlError { implementation144 impl StdError for TomlError { implementation
52 pub fn parse(repr: &str) -> Result<Vec<Self>, crate::TomlError> { in parse()169 fn try_parse_simple(s: &str) -> Result<Key, crate::TomlError> { in try_parse_simple()176 fn try_parse_path(s: &str) -> Result<Vec<Key>, crate::TomlError> { in try_parse_path()
18 pub(crate) fn parse_document(raw: &str) -> Result<crate::Document, TomlError> { in parse_document() argument30 pub(crate) fn parse_key(raw: &str) -> Result<crate::Key, TomlError> { in parse_key() argument43 pub(crate) fn parse_key_path(raw: &str) -> Result<Vec<crate::Key>, TomlError> { in parse_key_path() argument59 pub(crate) fn parse_value(raw: &str) -> Result<crate::Value, TomlError> { in parse_value() argument
74 impl From<Error> for crate::TomlError { implementation75 fn from(e: Error) -> crate::TomlError { in from()
81 impl From<Error> for crate::TomlError { implementation82 fn from(e: Error) -> crate::TomlError { in from()