Enum windows_ctl::CtlError
source · pub enum CtlError {
Io(Error),
Der(Error),
ContentType(ContentType),
MissingSignedData,
Content(ObjectIdentifier),
MissingSignedDataContent,
}
Expand description
Possible errors while parsing a certificate trust list.
Variants§
Io(Error)
I/O errors.
Der(Error)
Invalid DER.
ContentType(ContentType)
Valid PKCS#7, but the wrong content-type
.
MissingSignedData
Valid PKCS#7, but no encapsulated signed-data
.
Content(ObjectIdentifier)
Valid PKCS#7 with signed-data
, but not a CertificateTrustList
.
MissingSignedDataContent
Valid PKCS#7 that claims to have a CertificateTrustList
, but not present.
Trait Implementations§
source§impl Error for CtlError
impl Error for CtlError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for CtlError
impl Send for CtlError
impl Sync for CtlError
impl Unpin for CtlError
impl !UnwindSafe for CtlError
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