Enum osmpbf::BlobError [−][src]
pub enum BlobError {
InvalidHeaderSize,
HeaderTooBig {
size: u64,
},
MessageTooBig {
size: u64,
},
Empty,
// some variants omitted
}
Expand description
An error that occurs when decoding a blob.
Variants
InvalidHeaderSize
Header size could not be decoded to a u32.
HeaderTooBig
Fields
size: u64
Blob header size in bytes.
Blob header is bigger than MAX_BLOB_HEADER_SIZE
.
MessageTooBig
Fields
size: u64
Blob content size in bytes.
Blob content is bigger than MAX_BLOB_MESSAGE_SIZE
.
Empty
The blob is empty because the raw
and zlib-data
fields are missing.