pub enum DnValue<'a> {
Str(&'a str),
Uint(u64),
}Available on crate feature
rustcrypto only.Expand description
The value of a DN attribute: a string, or a Matter-specific scalar.
Variants§
Str(&'a str)
A string attribute’s text, borrowed from the certificate.
Uint(u64)
A Matter-specific attribute’s scalar.
Trait Implementations§
impl<'a> Copy for DnValue<'a>
impl<'a> Eq for DnValue<'a>
impl<'a> StructuralPartialEq for DnValue<'a>
Auto Trait Implementations§
impl<'a> Forget for DnValue<'a>
impl<'a> Freeze for DnValue<'a>
impl<'a> Move for DnValue<'a>
impl<'a> RefUnwindSafe for DnValue<'a>
impl<'a> Send for DnValue<'a>
impl<'a> Sync for DnValue<'a>
impl<'a> Unpin for DnValue<'a>
impl<'a> UnsafeUnpin for DnValue<'a>
impl<'a> UnwindSafe for DnValue<'a>
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