pub struct UtcTime(/* private fields */);Expand description
Used for parsing and writing ASN.1 UTC TIME values. Wraps a
DateTime.
Implementations§
Trait Implementations§
Source§impl SimpleAsn1Readable<'_> for UtcTime
impl SimpleAsn1Readable<'_> for UtcTime
Source§fn parse_data(data: &[u8]) -> ParseResult<Self>
fn parse_data(data: &[u8]) -> ParseResult<Self>
Parse the value from the given data bytes. Read more
Source§impl SimpleAsn1Writable for UtcTime
impl SimpleAsn1Writable for UtcTime
Source§fn write_data(&self, dest: &mut WriteBuf) -> WriteResult
fn write_data(&self, dest: &mut WriteBuf) -> WriteResult
Write the value’s data to the given buffer. Read more
impl Eq for UtcTime
impl StructuralPartialEq for UtcTime
Auto Trait Implementations§
impl Freeze for UtcTime
impl RefUnwindSafe for UtcTime
impl Send for UtcTime
impl Sync for UtcTime
impl Unpin for UtcTime
impl UnwindSafe for UtcTime
Blanket Implementations§
Source§impl<'a, T> Asn1Readable<'a> for Twhere
T: SimpleAsn1Readable<'a>,
impl<'a, T> Asn1Readable<'a> for Twhere
T: SimpleAsn1Readable<'a>,
Source§impl<T> Asn1Writable for Twhere
T: SimpleAsn1Writable,
impl<T> Asn1Writable for Twhere
T: SimpleAsn1Writable,
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