Enum bson::spec::BinarySubtype [−][src]
#[non_exhaustive]
pub enum BinarySubtype {
Generic,
Function,
BinaryOld,
UuidOld,
Uuid,
Md5,
Encrypted,
Column,
UserDefined(u8),
Reserved(u8),
}
Expand description
The available binary subtypes, plus a user-defined slot.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UserDefined(u8)
Tuple Fields of UserDefined
0: u8
Reserved(u8)
Tuple Fields of Reserved
0: u8
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BinarySubtype
impl Send for BinarySubtype
impl Sync for BinarySubtype
impl Unpin for BinarySubtype
impl UnwindSafe for BinarySubtype
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.