Enum zbus_polkit::policykit1::AuthorityFeatures [−][src]
#[repr(u32)]
pub enum AuthorityFeatures {
TemporaryAuthorization,
}
Expand description
Flags describing features supported by the Authority implementation.
Variants
The authority supports temporary authorizations that can be obtained through authentication.
Trait Implementations
fn 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
Return a slice that contains each variant exactly one.
Return the name of the type for debug formatting purposes. Read more
type Error = <u32 as TryFrom<OwnedValue>>::Error
type Error = <u32 as TryFrom<OwnedValue>>::Error
The type returned in the event of a conversion error.
Performs the conversion.
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
Mutably borrows from an owned value. Read more
type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
pub 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>,
pub 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.
Get the signature for the implementing type. Read more