Enum assembly_pack::pki::io::LoadError [−][src]
pub enum LoadError {
FileOpen(IoError),
Read(IoError),
Incomplete,
ParseError(ErrorKind),
ParseFailure(ErrorKind),
}
Expand description
Failed to load a PKI file
Variants
FileOpen(IoError)
Tuple Fields
0: IoError
Failed to open the file
Read(IoError)
Tuple Fields
0: IoError
Failed to read from the file
Incomplete
EOF while parsing
ParseError(ErrorKind)
Tuple Fields
0: ErrorKind
File did not match parser
ParseFailure(ErrorKind)
Tuple Fields
0: ErrorKind
Valid file but invalid data
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for LoadError
impl !UnwindSafe for LoadError
Blanket Implementations
Mutably borrows from an owned value. Read more
Given the context attached to a nom error, and given the original input to the nom parser, extract more the useful context information. Read more
impl<T> Indentable for T where
T: Display,
impl<T> Indentable for T where
T: Display,
fn indented_skip_initial(self, indent: &str) -> IndentedSkipIntial<'_, Self>
fn indented_skip_initial(self, indent: &str) -> IndentedSkipIntial<'_, Self>
Given the original input, as well as the context reported by nom, recreate a context in the original string where the error occurred. Read more