Enum osmpbf::blob::BlobType [−][src]
pub enum BlobType<'a> {
OsmHeader,
OsmData,
Unknown(&'a str),
}
Expand description
The content type of a blob.
Variants
OsmHeader
Blob contains a HeaderBlock
.
OsmData
Blob contains a PrimitiveBlock
.
Unknown(&'a str)
Tuple Fields
0: &'a str
An unknown blob type with the given string identifier. Parsers should ignore unknown blobs they do not expect.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for BlobType<'a>
impl<'a> UnwindSafe for BlobType<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more