Enum dubp_documents_parser::TextParseError [−][src]
pub enum TextParseError { BaseConversionError { field: &'static str, error: BaseConversionError, }, BlockstampParseError(BlockstampParseError), CompactDoc { field: &'static str, error: ParseCompactDocError, }, InvalidInnerFormat(String), IpAddrError(AddrParseError), PestError(PestError), UnexpectedRule(String), UnexpectedVersion(String), UnknownType, }
List of possible errors while parsing a text document.
Variants
Base 16/58/64 convertion error
Show fields
Fields of BaseConversionError
field: &'static str
error: BaseConversionError
Fail to parse blockstamp
Fail to parse compact doc
Show fields
Fields of CompactDoc
field: &'static str
error: ParseCompactDocError
InvalidInnerFormat(String)
The given source don’t have a valid specific document format (document type).
IpAddrError(AddrParseError)
Ip address parse error
PestError(PestError)
Error with pest parser
UnexpectedRule(String)
Unexpected rule
UnexpectedVersion(String)
Unexpected version
Unknown type
Trait Implementations
impl Clone for TextParseError
[src]
impl Clone for TextParseError
[src]fn clone(&self) -> TextParseError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for TextParseError
[src]
impl Eq for TextParseError
[src]impl Error for TextParseError
[src]
impl Error for TextParseError
[src]impl From<AddrParseError> for TextParseError
[src]
impl From<AddrParseError> for TextParseError
[src]fn from(e: AddrParseError) -> Self
[src]
impl PartialEq<TextParseError> for TextParseError
[src]
impl PartialEq<TextParseError> for TextParseError
[src]fn eq(&self, other: &TextParseError) -> bool
[src]
fn ne(&self, other: &TextParseError) -> bool
[src]
impl StructuralEq for TextParseError
[src]
impl StructuralEq for TextParseError
[src]impl StructuralPartialEq for TextParseError
[src]
impl StructuralPartialEq for TextParseError
[src]Auto Trait Implementations
impl RefUnwindSafe for TextParseError
impl RefUnwindSafe for TextParseError
impl Send for TextParseError
impl Send for TextParseError
impl Sync for TextParseError
impl Sync for TextParseError
impl Unpin for TextParseError
impl Unpin for TextParseError
impl UnwindSafe for TextParseError
impl UnwindSafe for TextParseError