#[non_exhaustive]pub enum CertificationType {
DevelopmentAndTest,
Provisional,
Official,
Reserved(u8),
}Available on crate feature
rustcrypto only.Expand description
What kind of certification a declaration attests to (§6.3.1).
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.
DevelopmentAndTest
0 — “used for development and test purposes”.
Provisional
1 — “provisional - used to allow production and distribution to occur in parallel
with certification”. A product may ship with one “if the Certification Declaration
can be replaced via software update”.
Official
2 — “official - allocated after passing certification”.
Reserved(u8)
Anything else; the specification says “reserved”.
Implementations§
Trait Implementations§
Source§impl Clone for CertificationType
impl Clone for CertificationType
impl Copy for CertificationType
Source§impl Debug for CertificationType
impl Debug for CertificationType
impl Eq for CertificationType
Source§impl Hash for CertificationType
impl Hash for CertificationType
Source§impl PartialEq for CertificationType
impl PartialEq for CertificationType
impl StructuralPartialEq for CertificationType
Auto Trait Implementations§
impl Forget for CertificationType
impl Freeze for CertificationType
impl Move for CertificationType
impl RefUnwindSafe for CertificationType
impl Send for CertificationType
impl Sync for CertificationType
impl Unpin for CertificationType
impl UnsafeUnpin for CertificationType
impl UnwindSafe for CertificationType
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