pub enum Value<'a> {
Name(GeneralName<'a>),
Group(GeneralName<'a>),
Certificate(usize),
}Expand description
All ASN.1 alternatives remain inspectable, including the forbidden one.
Variants§
Name(GeneralName<'a>)
[0] EXPLICIT GeneralName (a tagged CHOICE is explicitly wrapped).
Group(GeneralName<'a>)
[1] EXPLICIT GeneralName; membership is supplied by the caller.
Certificate(usize)
Index in TargetInformation::certificates. RFC5755 forbids its use.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for Value<'a>
impl<'a> RefUnwindSafe for Value<'a>
impl<'a> Send for Value<'a>
impl<'a> Sync for Value<'a>
impl<'a> Unpin for Value<'a>
impl<'a> UnsafeUnpin for Value<'a>
impl<'a> UnwindSafe for Value<'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