Struct mbedtls::x509::VerifyError
source · pub struct VerifyError { /* private fields */ }
Implementations
sourceimpl VerifyError
impl VerifyError
sourcepub fn empty() -> VerifyError
pub fn empty() -> VerifyError
Returns an empty set of flags.
sourcepub fn all() -> VerifyError
pub fn all() -> VerifyError
Returns the set containing all flags.
sourcepub fn from_bits(bits: u32) -> Option<VerifyError>
pub fn from_bits(bits: u32) -> Option<VerifyError>
Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
sourcepub fn from_bits_truncate(bits: u32) -> VerifyError
pub fn from_bits_truncate(bits: u32) -> VerifyError
Convert from underlying bit representation, dropping any bits that do not correspond to flags.
sourcepub fn intersects(&self, other: VerifyError) -> bool
pub fn intersects(&self, other: VerifyError) -> bool
Returns true
if there are flags common to both self
and other
.
sourcepub fn contains(&self, other: VerifyError) -> bool
pub fn contains(&self, other: VerifyError) -> bool
Returns true
all of the flags in other
are contained within self
.
sourcepub fn insert(&mut self, other: VerifyError)
pub fn insert(&mut self, other: VerifyError)
Inserts the specified flags in-place.
sourcepub fn remove(&mut self, other: VerifyError)
pub fn remove(&mut self, other: VerifyError)
Removes the specified flags in-place.
sourcepub fn toggle(&mut self, other: VerifyError)
pub fn toggle(&mut self, other: VerifyError)
Toggles the specified flags in-place.
Trait Implementations
sourceimpl BitAnd<VerifyError> for VerifyError
impl BitAnd<VerifyError> for VerifyError
sourcefn bitand(self, other: VerifyError) -> VerifyError
fn bitand(self, other: VerifyError) -> VerifyError
Returns the intersection between the two sets of flags.
type Output = VerifyError
type Output = VerifyError
&
operator.sourceimpl BitAndAssign<VerifyError> for VerifyError
impl BitAndAssign<VerifyError> for VerifyError
sourcefn bitand_assign(&mut self, other: VerifyError)
fn bitand_assign(&mut self, other: VerifyError)
Disables all flags disabled in the set.
sourceimpl BitOr<VerifyError> for VerifyError
impl BitOr<VerifyError> for VerifyError
sourcefn bitor(self, other: VerifyError) -> VerifyError
fn bitor(self, other: VerifyError) -> VerifyError
Returns the union of the two sets of flags.
type Output = VerifyError
type Output = VerifyError
|
operator.sourceimpl BitOrAssign<VerifyError> for VerifyError
impl BitOrAssign<VerifyError> for VerifyError
sourcefn bitor_assign(&mut self, other: VerifyError)
fn bitor_assign(&mut self, other: VerifyError)
Adds the set of flags.
sourceimpl BitXor<VerifyError> for VerifyError
impl BitXor<VerifyError> for VerifyError
sourcefn bitxor(self, other: VerifyError) -> VerifyError
fn bitxor(self, other: VerifyError) -> VerifyError
Returns the left flags, but with all the right flags toggled.
type Output = VerifyError
type Output = VerifyError
^
operator.sourceimpl BitXorAssign<VerifyError> for VerifyError
impl BitXorAssign<VerifyError> for VerifyError
sourcefn bitxor_assign(&mut self, other: VerifyError)
fn bitxor_assign(&mut self, other: VerifyError)
Toggles the set of flags.
sourceimpl Clone for VerifyError
impl Clone for VerifyError
sourcefn clone(&self) -> VerifyError
fn clone(&self) -> VerifyError
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for VerifyError
impl Debug for VerifyError
sourceimpl Extend<VerifyError> for VerifyError
impl Extend<VerifyError> for VerifyError
sourcefn extend<T: IntoIterator<Item = VerifyError>>(&mut self, iterator: T)
fn extend<T: IntoIterator<Item = VerifyError>>(&mut self, iterator: T)
sourcefn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
extend_one
)sourcefn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
extend_one
)sourceimpl FromIterator<VerifyError> for VerifyError
impl FromIterator<VerifyError> for VerifyError
sourcefn from_iter<T: IntoIterator<Item = VerifyError>>(iterator: T) -> VerifyError
fn from_iter<T: IntoIterator<Item = VerifyError>>(iterator: T) -> VerifyError
sourceimpl Hash for VerifyError
impl Hash for VerifyError
sourceimpl Not for VerifyError
impl Not for VerifyError
sourcefn not(self) -> VerifyError
fn not(self) -> VerifyError
Returns the complement of this set of flags.
type Output = VerifyError
type Output = VerifyError
!
operator.sourceimpl Ord for VerifyError
impl Ord for VerifyError
sourcefn cmp(&self, other: &VerifyError) -> Ordering
fn cmp(&self, other: &VerifyError) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
sourceimpl PartialEq<VerifyError> for VerifyError
impl PartialEq<VerifyError> for VerifyError
sourcefn eq(&self, other: &VerifyError) -> bool
fn eq(&self, other: &VerifyError) -> bool
sourceimpl PartialOrd<VerifyError> for VerifyError
impl PartialOrd<VerifyError> for VerifyError
sourcefn partial_cmp(&self, other: &VerifyError) -> Option<Ordering>
fn partial_cmp(&self, other: &VerifyError) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresourceimpl Sub<VerifyError> for VerifyError
impl Sub<VerifyError> for VerifyError
sourcefn sub(self, other: VerifyError) -> VerifyError
fn sub(self, other: VerifyError) -> VerifyError
Returns the set difference of the two sets of flags.
type Output = VerifyError
type Output = VerifyError
-
operator.sourceimpl SubAssign<VerifyError> for VerifyError
impl SubAssign<VerifyError> for VerifyError
sourcefn sub_assign(&mut self, other: VerifyError)
fn sub_assign(&mut self, other: VerifyError)
Disables all flags enabled in the set.