Enum zbus_polkit::policykit1::AuthorityFeatures
source · [−]#[repr(u32)]
pub enum AuthorityFeatures {
TemporaryAuthorization,
}
Expand description
Flags describing features supported by the Authority implementation.
Variants
TemporaryAuthorization
The authority supports temporary authorizations that can be obtained through authentication.
Trait Implementations
sourceimpl BitAnd<AuthorityFeatures> for AuthorityFeatures
impl BitAnd<AuthorityFeatures> for AuthorityFeatures
type Output = BitFlags<AuthorityFeatures, <AuthorityFeatures as RawBitFlags>::Numeric>
type Output = BitFlags<AuthorityFeatures, <AuthorityFeatures as RawBitFlags>::Numeric>
The resulting type after applying the &
operator.
sourceimpl BitFlag for AuthorityFeatures
impl BitFlag for AuthorityFeatures
sourceimpl BitOr<AuthorityFeatures> for AuthorityFeatures
impl BitOr<AuthorityFeatures> for AuthorityFeatures
type Output = BitFlags<AuthorityFeatures, <AuthorityFeatures as RawBitFlags>::Numeric>
type Output = BitFlags<AuthorityFeatures, <AuthorityFeatures as RawBitFlags>::Numeric>
The resulting type after applying the |
operator.
sourceimpl BitXor<AuthorityFeatures> for AuthorityFeatures
impl BitXor<AuthorityFeatures> for AuthorityFeatures
type Output = BitFlags<AuthorityFeatures, <AuthorityFeatures as RawBitFlags>::Numeric>
type Output = BitFlags<AuthorityFeatures, <AuthorityFeatures as RawBitFlags>::Numeric>
The resulting type after applying the ^
operator.
sourceimpl Clone for AuthorityFeatures
impl Clone for AuthorityFeatures
sourcefn clone(&self) -> AuthorityFeatures
fn clone(&self) -> AuthorityFeatures
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AuthorityFeatures
impl Debug for AuthorityFeatures
sourceimpl<'de> Deserialize<'de> for AuthorityFeatures
impl<'de> Deserialize<'de> for AuthorityFeatures
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Not for AuthorityFeatures
impl Not for AuthorityFeatures
type Output = BitFlags<AuthorityFeatures, <AuthorityFeatures as RawBitFlags>::Numeric>
type Output = BitFlags<AuthorityFeatures, <AuthorityFeatures as RawBitFlags>::Numeric>
The resulting type after applying the !
operator.
sourceimpl RawBitFlags for AuthorityFeatures
impl RawBitFlags for AuthorityFeatures
sourceconst DEFAULT: Self::Numeric = {transmute(0x00000000): ::Numeric}
const DEFAULT: Self::Numeric = {transmute(0x00000000): ::Numeric}
The value used by the Default implementation. Equivalent to EMPTY, unless customized. Read more
sourceconst ALL_BITS: Self::Numeric = {transmute(0x00000001): ::Numeric}
const ALL_BITS: Self::Numeric = {transmute(0x00000001): ::Numeric}
A value with all flag bits set.
sourceconst BITFLAGS_TYPE_NAME: &'static str = "BitFlags"
const BITFLAGS_TYPE_NAME: &'static str = "BitFlags"
The name of the type for debug formatting purposes. Read more
sourceimpl Serialize for AuthorityFeatures
impl Serialize for AuthorityFeatures
sourceimpl TryFrom<OwnedValue> for AuthorityFeatures
impl TryFrom<OwnedValue> for AuthorityFeatures
type Error = <u32 as TryFrom<OwnedValue>>::Error
type Error = <u32 as TryFrom<OwnedValue>>::Error
The type returned in the event of a conversion error.
sourcefn try_from(v: OwnedValue) -> Result<Self, Self::Error>
fn try_from(v: OwnedValue) -> Result<Self, Self::Error>
Performs the conversion.
sourceimpl Type for AuthorityFeatures
impl Type for AuthorityFeatures
impl Copy for AuthorityFeatures
impl StructuralPartialEq for AuthorityFeatures
Auto Trait Implementations
impl RefUnwindSafe for AuthorityFeatures
impl Send for AuthorityFeatures
impl Sync for AuthorityFeatures
impl Unpin for AuthorityFeatures
impl UnwindSafe for AuthorityFeatures
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<'de, T> DynamicDeserialize<'de> for T where
T: Type + Deserialize<'de> + ?Sized,
impl<'de, T> DynamicDeserialize<'de> for T where
T: Type + Deserialize<'de> + ?Sized,
type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
sourcefn deserializer_for_signature<S>(
signature: S
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error> where
S: TryInto<Signature<'de>>,
<S as TryInto<Signature<'de>>>::Error: Into<Error>,
fn deserializer_for_signature<S>(
signature: S
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error> where
S: TryInto<Signature<'de>>,
<S as TryInto<Signature<'de>>>::Error: Into<Error>,
Get a deserializer compatible with this signature.
sourceimpl<T> DynamicType for T where
T: Type + ?Sized,
impl<T> DynamicType for T where
T: Type + ?Sized,
sourcefn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more