pub enum Reading<'a> {
Crl(CertificateList<'a>),
Ocsp(BasicResponse<'a>),
Open {
format: Oid<'a>,
},
}Expand description
Actual parsed CMS choice, without authentication or freshness claims.
Variants§
Crl(CertificateList<'a>)
Whole original CertificateList, including complete/delta distinction.
Ocsp(BasicResponse<'a>)
Basic body from the successful whole RFC5940 OCSPResponse choice.
Open
Original open or unsupported inner response syntax. The caller retains the original complete choice; this is never a fabricated basic body.
Auto Trait Implementations§
impl<'a> !Freeze for Reading<'a>
impl<'a> !RefUnwindSafe for Reading<'a>
impl<'a> !Send for Reading<'a>
impl<'a> !Sync for Reading<'a>
impl<'a> !UnwindSafe for Reading<'a>
impl<'a> Unpin for Reading<'a>
impl<'a> UnsafeUnpin for Reading<'a>
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