Enum osmpbf::blob::BlobDecode [−][src]
pub enum BlobDecode<'a> {
OsmHeader(Box<HeaderBlock>),
OsmData(PrimitiveBlock),
Unknown(&'a str),
}
Expand description
The decoded content of a blob (analogous to BlobType
).
Variants
OsmHeader(Box<HeaderBlock>)
Tuple Fields
0: Box<HeaderBlock>
Blob contains a HeaderBlock
.
OsmData(PrimitiveBlock)
Tuple Fields
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 BlobDecode<'a>
impl<'a> Send for BlobDecode<'a>
impl<'a> Sync for BlobDecode<'a>
impl<'a> Unpin for BlobDecode<'a>
impl<'a> UnwindSafe for BlobDecode<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more