Struct openssl::asn1::Asn1Time
[−]
pub struct Asn1Time(_);
Methods
impl Asn1Time
[src]
fn days_from_now(days: u32) -> Result<Asn1Time, ErrorStack>
[src]
Creates a new time on specified interval in days from now
Trait Implementations
impl ForeignType for Asn1Time
type CType = ASN1_TIME
The raw C type.
type Ref = Asn1TimeRef
The type representing a reference to this type.
unsafe fn from_ptr(ptr: *mut ASN1_TIME) -> Asn1Time
Constructs an instance of this type from its raw type.
fn as_ptr(&self) -> *mut ASN1_TIME
Returns a raw pointer to the wrapped value.
impl Drop for Asn1Time
impl Deref for Asn1Time
type Target = Asn1TimeRef
The resulting type after dereferencing.
fn deref(&self) -> &Asn1TimeRef
Dereferences the value.
impl DerefMut for Asn1Time
fn deref_mut(&mut self) -> &mut Asn1TimeRef
Mutably dereferences the value.