Enum osmpbf::ErrorKind [−][src]
pub enum ErrorKind { Io(Error), Protobuf { err: ProtobufError, location: &'static str, }, StringtableUtf8 { err: Utf8Error, index: usize, }, StringtableIndexOutOfBounds { index: usize, }, Blob(BlobError), // some variants omitted }
The specific type of an error.
Variants
Io(Error)
An error for I/O operations.
An error that occurs when decoding a protobuf message.
Show fields
Fields of Protobuf
err: ProtobufError
location: &'static str
The stringtable contains an entry at index
that could not be decoded to a valid UTF-8
string.
An element contains an out-of-bounds index to the stringtable.
Show fields
Fields of StringtableIndexOutOfBounds
index: usize
Blob(BlobError)
An error that occurs when decoding Blob
s.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ErrorKind
impl !RefUnwindSafe for ErrorKind
impl !UnwindSafe for ErrorKind
impl !UnwindSafe for ErrorKind