Searched defs:TomlError (Results 1 – 6 of 6) sorted by relevance
6 pub struct TomlError { struct13 impl TomlError { argument99 impl Display for TomlError { implementation154 impl StdError for TomlError { implementation
52 pub fn parse(repr: &str) -> Result<Vec<Self>, crate::TomlError> { in parse()173 fn try_parse_simple(s: &str) -> Result<Key, crate::TomlError> { in try_parse_simple()180 fn try_parse_path(s: &str) -> Result<Vec<Key>, crate::TomlError> { in try_parse_path()
25 pub fn parse(raw: S) -> Result<Self, crate::TomlError> { in parse()
19 pub(crate) fn parse_document<S: AsRef<str>>(raw: S) -> Result<crate::ImDocument<S>, TomlError> { in parse_document() argument35 pub(crate) fn parse_key(raw: &str) -> Result<crate::Key, TomlError> { in parse_key() argument48 pub(crate) fn parse_key_path(raw: &str) -> Result<Vec<crate::Key>, TomlError> { in parse_key_path() argument64 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()
80 impl From<Error> for crate::TomlError { implementation81 fn from(e: Error) -> crate::TomlError { in from()