pub enum ContentConstraint {
Containing(ASN1Type),
EncodedBy(ASN1Value),
ContainingEncodedBy {
containing: ASN1Type,
encoded_by: ASN1Value,
},
}
Variants§
Trait Implementations§
source§impl Clone for ContentConstraint
impl Clone for ContentConstraint
source§fn clone(&self) -> ContentConstraint
fn clone(&self) -> ContentConstraint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ContentConstraint
impl Debug for ContentConstraint
source§impl From<ASN1Type> for ContentConstraint
impl From<ASN1Type> for ContentConstraint
source§impl From<ASN1Value> for ContentConstraint
impl From<ASN1Value> for ContentConstraint
source§impl PartialEq for ContentConstraint
impl PartialEq for ContentConstraint
impl StructuralPartialEq for ContentConstraint
Auto Trait Implementations§
impl Freeze for ContentConstraint
impl RefUnwindSafe for ContentConstraint
impl Send for ContentConstraint
impl Sync for ContentConstraint
impl Unpin for ContentConstraint
impl UnwindSafe for ContentConstraint
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)