[−][src]Enum sequoia_openpgp::cert::prelude::CertValidity
Whether a packet sequence is a valid Cert.
Variants
The packet sequence is a valid Cert.
The packet sequence is a valid Cert prefix.
Error(Error)
The packet sequence is definitely not a Cert.
Implementations
impl CertValidity
[src]
pub fn is_cert(&self) -> bool
[src]
Returns whether the packet sequence is a valid Cert.
Note: a CertValidator
will only return this after
CertValidator::finish
has been called.
pub fn is_cert_prefix(&self) -> bool
[src]
Returns whether the packet sequence is a valid Cert prefix.
Note: a CertValidator
will only return this before
CertValidator::finish
has been called.
pub fn is_err(&self) -> bool
[src]
Returns whether the packet sequence is definitely not a valid Cert.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CertValidity
impl Send for CertValidity
impl Sync for CertValidity
impl Unpin for CertValidity
impl UnwindSafe for CertValidity
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,