pub enum BlobKind {
Show 13 variants
BinaryPlist,
XmlPlist,
Gzip,
Zlib,
Snappy,
Base64,
Hex,
Uuid,
Json,
Protobuf,
Utf16Le,
Utf8Text,
Unknown,
}Expand description
A recognised (or unrecognised) blob type.
The citation and label are carried per-kind so a reading is traceable to
the authoritative format definition it was matched against.
Variants§
BinaryPlist
Apple binary property list (bplist00 magic).
XmlPlist
Apple XML property list.
Gzip
gzip member (1f 8b magic).
Zlib
zlib stream (RFC 1950 header).
Snappy
Snappy framed stream.
Base64
base64 text (standard or URL-safe alphabet).
Hex
Hexadecimal text.
Uuid
A UUID / GUID (16 raw bytes or the canonical hyphenated string).
Json
JSON (object or array root).
Protobuf
Protocol Buffers wire-format message (schemaless / no .proto).
Utf16Le
UTF-16LE text.
Utf8Text
UTF-8 text (printable).
Unknown
No known type matched — the raw head bytes are reported for the analyst.
Implementations§
Source§impl BlobKind
impl BlobKind
Trait Implementations§
impl Copy for BlobKind
impl Eq for BlobKind
impl StructuralPartialEq for BlobKind
Auto Trait Implementations§
impl Freeze for BlobKind
impl RefUnwindSafe for BlobKind
impl Send for BlobKind
impl Sync for BlobKind
impl Unpin for BlobKind
impl UnsafeUnpin for BlobKind
impl UnwindSafe for BlobKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.