Enum osmpbf::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Io(Error), Protobuf(ProtobufError), StringtableIndexOutOfBounds(usize), BlobHeaderTooBig(u64), BlobMessageTooBig(u64), // some variants omitted }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Io(Error)
Protobuf(ProtobufError)
StringtableIndexOutOfBounds(usize)
BlobHeaderTooBig(u64)
BlobMessageTooBig(u64)
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.