pub struct InhibitAnyPolicy(pub u32);Expand description
InhibitAnyPolicy as defined in RFC 5280 Section 4.2.1.14.
InhibitAnyPolicy ::= SkipCertsTuple Fields§
§0: u32Trait Implementations§
Source§impl AsExtension for InhibitAnyPolicy
impl AsExtension for InhibitAnyPolicy
Source§impl<'a> AsMut<u32> for InhibitAnyPolicy
impl<'a> AsMut<u32> for InhibitAnyPolicy
Source§impl<'a> AsRef<u32> for InhibitAnyPolicy
impl<'a> AsRef<u32> for InhibitAnyPolicy
Source§impl AssociatedOid for InhibitAnyPolicy
impl AssociatedOid for InhibitAnyPolicy
Source§const OID: ObjectIdentifier = ID_CE_INHIBIT_ANY_POLICY
const OID: ObjectIdentifier = ID_CE_INHIBIT_ANY_POLICY
The OID associated with this type.
Source§impl Clone for InhibitAnyPolicy
impl Clone for InhibitAnyPolicy
Source§fn clone(&self) -> InhibitAnyPolicy
fn clone(&self) -> InhibitAnyPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InhibitAnyPolicy
impl Debug for InhibitAnyPolicy
Source§impl<'a> DecodeValue<'a> for InhibitAnyPolicy
impl<'a> DecodeValue<'a> for InhibitAnyPolicy
Source§fn decode_value<R: Reader<'a>>(decoder: &mut R, header: Header) -> Result<Self>
fn decode_value<R: Reader<'a>>(decoder: &mut R, header: Header) -> Result<Self>
Attempt to decode this message using the provided [
Reader].Source§impl Default for InhibitAnyPolicy
impl Default for InhibitAnyPolicy
Source§fn default() -> InhibitAnyPolicy
fn default() -> InhibitAnyPolicy
Returns the “default value” for a type. Read more
Source§impl<'a> EncodeValue for InhibitAnyPolicy
impl<'a> EncodeValue for InhibitAnyPolicy
Source§impl<'a> FixedTag for InhibitAnyPolicy
impl<'a> FixedTag for InhibitAnyPolicy
Source§impl<'a> From<InhibitAnyPolicy> for u32
impl<'a> From<InhibitAnyPolicy> for u32
Source§fn from(value: InhibitAnyPolicy) -> Self
fn from(value: InhibitAnyPolicy) -> Self
Converts to this type from the input type.
Source§impl<'a> From<u32> for InhibitAnyPolicy
impl<'a> From<u32> for InhibitAnyPolicy
Source§impl PartialEq for InhibitAnyPolicy
impl PartialEq for InhibitAnyPolicy
Source§fn eq(&self, other: &InhibitAnyPolicy) -> bool
fn eq(&self, other: &InhibitAnyPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> ValueOrd for InhibitAnyPolicy
impl<'a> ValueOrd for InhibitAnyPolicy
impl Copy for InhibitAnyPolicy
impl Eq for InhibitAnyPolicy
impl StructuralPartialEq for InhibitAnyPolicy
Auto Trait Implementations§
impl Freeze for InhibitAnyPolicy
impl RefUnwindSafe for InhibitAnyPolicy
impl Send for InhibitAnyPolicy
impl Sync for InhibitAnyPolicy
impl Unpin for InhibitAnyPolicy
impl UnsafeUnpin for InhibitAnyPolicy
impl UnwindSafe for InhibitAnyPolicy
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
§impl<'a, T> Choice<'a> for Twhere
T: Decode<'a> + FixedTag,
impl<'a, T> Choice<'a> for Twhere
T: Decode<'a> + FixedTag,
§fn can_decode(tag: Tag) -> bool
fn can_decode(tag: Tag) -> bool
Is the provided [
Tag] decodable as a variant of this CHOICE?Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag,
impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag,
§impl<T> DerOrd for Twhere
T: EncodeValue + ValueOrd + Tagged,
impl<T> DerOrd for Twhere
T: EncodeValue + ValueOrd + Tagged,
Source§impl<T> DynAssociatedOid for Twhere
T: AssociatedOid,
impl<T> DynAssociatedOid for Twhere
T: AssociatedOid,
Source§fn oid(&self) -> ObjectIdentifier
fn oid(&self) -> ObjectIdentifier
Get the OID associated with this value.
§impl<T> Encode for Twhere
T: EncodeValue + Tagged,
impl<T> Encode for Twhere
T: EncodeValue + Tagged,
§fn encoded_len(&self) -> Result<Length, Error>
fn encoded_len(&self) -> Result<Length, Error>
Compute the length of this value in bytes when encoded as ASN.1 DER.
§fn encode(&self, writer: &mut impl Writer) -> Result<(), Error>
fn encode(&self, writer: &mut impl Writer) -> Result<(), Error>
Encode this value as ASN.1 DER using the provided [Writer].
§fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8], Error>
fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8], Error>
Encode this value to the provided byte slice, returning a sub-slice
containing the encoded message.
§fn encode_to_vec(&self, buf: &mut Vec<u8>) -> Result<Length, Error>
fn encode_to_vec(&self, buf: &mut Vec<u8>) -> Result<Length, Error>
Encode this message as ASN.1 DER, appending it to the provided
byte vector.