Enum x509_certificate::asn1time::Time
source · pub enum Time {
UtcTime(UtcTime),
GeneralTime(GeneralizedTime),
}
Variants§
UtcTime(UtcTime)
GeneralTime(GeneralizedTime)
Implementations§
source§impl Time
impl Time
pub fn take_from<S: Source>( cons: &mut Constructed<'_, S> ) -> Result<Self, DecodeError<S::Error>>
pub fn take_opt_from<S: Source>( cons: &mut Constructed<'_, S> ) -> Result<Option<Self>, DecodeError<S::Error>>
pub fn encode_ref(&self) -> impl Values + '_
Trait Implementations§
source§impl PartialEq for Time
impl PartialEq for Time
impl Eq for Time
impl StructuralEq for Time
impl StructuralPartialEq for Time
Auto Trait Implementations§
impl RefUnwindSafe for Time
impl Send for Time
impl Sync for Time
impl Unpin for Time
impl UnwindSafe for Time
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