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
}
Expand description
The specific type of an error.
Variants
Io(Error)
Tuple Fields
0: Error
An error for I/O operations.
Protobuf
An error that occurs when decoding a protobuf message.
StringtableUtf8
The stringtable contains an entry at index
that could not be decoded to a valid UTF-8
string.
StringtableIndexOutOfBounds
Fields
index: usize
An element contains an out-of-bounds index to the stringtable.
Blob(BlobError)
Tuple Fields
0: BlobError
An error that occurs when decoding Blob
s.