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)Failed to open the file
Tuple Fields of FileOpen
0: IoErrorRead(IoError)Failed to read from the file
Tuple Fields of Read
0: IoErrorEOF while parsing
ParseError(ErrorKind)File did not match parser
Tuple Fields of ParseError
0: ErrorKindParseFailure(ErrorKind)Valid file but invalid data
Tuple Fields of ParseFailure
0: ErrorKindTrait 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