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