Struct gio::TlsDatabaseVerifyFlags
source · [−]pub struct TlsDatabaseVerifyFlags { /* private fields */ }Implementations
sourceimpl TlsDatabaseVerifyFlags
impl TlsDatabaseVerifyFlags
pub const NONE: TlsDatabaseVerifyFlags = _
sourcepub const fn empty() -> TlsDatabaseVerifyFlags
pub const fn empty() -> TlsDatabaseVerifyFlags
Returns an empty set of flags
sourcepub const fn all() -> TlsDatabaseVerifyFlags
pub const fn all() -> TlsDatabaseVerifyFlags
Returns the set containing all flags.
sourcepub fn from_bits(bits: u32) -> Option<TlsDatabaseVerifyFlags>
pub fn from_bits(bits: u32) -> Option<TlsDatabaseVerifyFlags>
Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
sourcepub const fn from_bits_truncate(bits: u32) -> TlsDatabaseVerifyFlags
pub const fn from_bits_truncate(bits: u32) -> TlsDatabaseVerifyFlags
Convert from underlying bit representation, dropping any bits that do not correspond to flags.
sourcepub const unsafe fn from_bits_unchecked(bits: u32) -> TlsDatabaseVerifyFlags
pub const unsafe fn from_bits_unchecked(bits: u32) -> TlsDatabaseVerifyFlags
Convert from underlying bit representation, preserving all bits (even those not corresponding to a defined flag).
sourcepub const fn intersects(&self, other: TlsDatabaseVerifyFlags) -> bool
pub const fn intersects(&self, other: TlsDatabaseVerifyFlags) -> bool
Returns true if there are flags common to both self and other.
sourcepub const fn contains(&self, other: TlsDatabaseVerifyFlags) -> bool
pub const fn contains(&self, other: TlsDatabaseVerifyFlags) -> bool
Returns true all of the flags in other are contained within self.
sourcepub fn insert(&mut self, other: TlsDatabaseVerifyFlags)
pub fn insert(&mut self, other: TlsDatabaseVerifyFlags)
Inserts the specified flags in-place.
sourcepub fn remove(&mut self, other: TlsDatabaseVerifyFlags)
pub fn remove(&mut self, other: TlsDatabaseVerifyFlags)
Removes the specified flags in-place.
sourcepub fn toggle(&mut self, other: TlsDatabaseVerifyFlags)
pub fn toggle(&mut self, other: TlsDatabaseVerifyFlags)
Toggles the specified flags in-place.
sourcepub fn set(&mut self, other: TlsDatabaseVerifyFlags, value: bool)
pub fn set(&mut self, other: TlsDatabaseVerifyFlags, value: bool)
Inserts or removes the specified flags depending on the passed value.
Trait Implementations
sourceimpl Binary for TlsDatabaseVerifyFlags
impl Binary for TlsDatabaseVerifyFlags
sourceimpl BitAnd<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
impl BitAnd<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
sourcefn bitand(self, other: TlsDatabaseVerifyFlags) -> TlsDatabaseVerifyFlags
fn bitand(self, other: TlsDatabaseVerifyFlags) -> TlsDatabaseVerifyFlags
Returns the intersection between the two sets of flags.
type Output = TlsDatabaseVerifyFlags
type Output = TlsDatabaseVerifyFlags
& operator.sourceimpl BitAndAssign<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
impl BitAndAssign<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
sourcefn bitand_assign(&mut self, other: TlsDatabaseVerifyFlags)
fn bitand_assign(&mut self, other: TlsDatabaseVerifyFlags)
Disables all flags disabled in the set.
sourceimpl BitOr<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
impl BitOr<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
sourcefn bitor(self, other: TlsDatabaseVerifyFlags) -> TlsDatabaseVerifyFlags
fn bitor(self, other: TlsDatabaseVerifyFlags) -> TlsDatabaseVerifyFlags
Returns the union of the two sets of flags.
type Output = TlsDatabaseVerifyFlags
type Output = TlsDatabaseVerifyFlags
| operator.sourceimpl BitOrAssign<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
impl BitOrAssign<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
sourcefn bitor_assign(&mut self, other: TlsDatabaseVerifyFlags)
fn bitor_assign(&mut self, other: TlsDatabaseVerifyFlags)
Adds the set of flags.
sourceimpl BitXor<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
impl BitXor<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
sourcefn bitxor(self, other: TlsDatabaseVerifyFlags) -> TlsDatabaseVerifyFlags
fn bitxor(self, other: TlsDatabaseVerifyFlags) -> TlsDatabaseVerifyFlags
Returns the left flags, but with all the right flags toggled.
type Output = TlsDatabaseVerifyFlags
type Output = TlsDatabaseVerifyFlags
^ operator.sourceimpl BitXorAssign<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
impl BitXorAssign<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
sourcefn bitxor_assign(&mut self, other: TlsDatabaseVerifyFlags)
fn bitxor_assign(&mut self, other: TlsDatabaseVerifyFlags)
Toggles the set of flags.
sourceimpl Clone for TlsDatabaseVerifyFlags
impl Clone for TlsDatabaseVerifyFlags
sourcefn clone(&self) -> TlsDatabaseVerifyFlags
fn clone(&self) -> TlsDatabaseVerifyFlags
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresourceimpl Debug for TlsDatabaseVerifyFlags
impl Debug for TlsDatabaseVerifyFlags
sourceimpl Extend<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
impl Extend<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
sourcefn extend<T: IntoIterator<Item = TlsDatabaseVerifyFlags>>(&mut self, iterator: T)
fn extend<T: IntoIterator<Item = TlsDatabaseVerifyFlags>>(&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<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
impl FromIterator<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
sourcefn from_iter<T: IntoIterator<Item = TlsDatabaseVerifyFlags>>(
iterator: T
) -> TlsDatabaseVerifyFlags
fn from_iter<T: IntoIterator<Item = TlsDatabaseVerifyFlags>>(
iterator: T
) -> TlsDatabaseVerifyFlags
sourceimpl<'a> FromValue<'a> for TlsDatabaseVerifyFlags
impl<'a> FromValue<'a> for TlsDatabaseVerifyFlags
unsafe fn from_value(value: &Value) -> Self
sourceimpl<'a> FromValueOptional<'a> for TlsDatabaseVerifyFlags
impl<'a> FromValueOptional<'a> for TlsDatabaseVerifyFlags
unsafe fn from_value_optional(value: &Value) -> Option<Self>
sourceimpl Hash for TlsDatabaseVerifyFlags
impl Hash for TlsDatabaseVerifyFlags
sourceimpl LowerHex for TlsDatabaseVerifyFlags
impl LowerHex for TlsDatabaseVerifyFlags
sourceimpl Not for TlsDatabaseVerifyFlags
impl Not for TlsDatabaseVerifyFlags
sourcefn not(self) -> TlsDatabaseVerifyFlags
fn not(self) -> TlsDatabaseVerifyFlags
Returns the complement of this set of flags.
type Output = TlsDatabaseVerifyFlags
type Output = TlsDatabaseVerifyFlags
! operator.sourceimpl Octal for TlsDatabaseVerifyFlags
impl Octal for TlsDatabaseVerifyFlags
sourceimpl Ord for TlsDatabaseVerifyFlags
impl Ord for TlsDatabaseVerifyFlags
sourcefn cmp(&self, other: &TlsDatabaseVerifyFlags) -> Ordering
fn cmp(&self, other: &TlsDatabaseVerifyFlags) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
sourceimpl PartialEq<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
impl PartialEq<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
sourcefn eq(&self, other: &TlsDatabaseVerifyFlags) -> bool
fn eq(&self, other: &TlsDatabaseVerifyFlags) -> bool
sourceimpl PartialOrd<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
impl PartialOrd<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
sourcefn partial_cmp(&self, other: &TlsDatabaseVerifyFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &TlsDatabaseVerifyFlags) -> 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 SetValue for TlsDatabaseVerifyFlags
impl SetValue for TlsDatabaseVerifyFlags
sourceimpl StaticType for TlsDatabaseVerifyFlags
impl StaticType for TlsDatabaseVerifyFlags
sourcefn static_type() -> Type
fn static_type() -> Type
Self.sourceimpl Sub<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
impl Sub<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
sourcefn sub(self, other: TlsDatabaseVerifyFlags) -> TlsDatabaseVerifyFlags
fn sub(self, other: TlsDatabaseVerifyFlags) -> TlsDatabaseVerifyFlags
Returns the set difference of the two sets of flags.
type Output = TlsDatabaseVerifyFlags
type Output = TlsDatabaseVerifyFlags
- operator.sourceimpl SubAssign<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
impl SubAssign<TlsDatabaseVerifyFlags> for TlsDatabaseVerifyFlags
sourcefn sub_assign(&mut self, other: TlsDatabaseVerifyFlags)
fn sub_assign(&mut self, other: TlsDatabaseVerifyFlags)
Disables all flags enabled in the set.
sourceimpl UpperHex for TlsDatabaseVerifyFlags
impl UpperHex for TlsDatabaseVerifyFlags
impl Copy for TlsDatabaseVerifyFlags
impl Eq for TlsDatabaseVerifyFlags
impl StructuralEq for TlsDatabaseVerifyFlags
impl StructuralPartialEq for TlsDatabaseVerifyFlags
Auto Trait Implementations
impl RefUnwindSafe for TlsDatabaseVerifyFlags
impl Send for TlsDatabaseVerifyFlags
impl Sync for TlsDatabaseVerifyFlags
impl Unpin for TlsDatabaseVerifyFlags
impl UnwindSafe for TlsDatabaseVerifyFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
sourceimpl<T> ToSendValue for Twhere
T: SetValue + Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere
T: SetValue + Send + ToValue + ?Sized,
sourcefn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
SendValue clone of self.