Enum zbus_polkit::policykit1::CheckAuthorizationFlags [−][src]
#[repr(u32)]
pub enum CheckAuthorizationFlags {
AllowUserInteraction,
}
Expand description
Flags used in the CheckAuthorization() method.
Variants
If the Subject can obtain the authorization through authentication, and an authentication agent is available, then attempt to do so. Note, this means that the CheckAuthorization() method will block while the user is being asked to authenticate.
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
Auto Trait Implementations
impl RefUnwindSafe for CheckAuthorizationFlags
impl Send for CheckAuthorizationFlags
impl Sync for CheckAuthorizationFlags
impl Unpin for CheckAuthorizationFlags
impl UnwindSafe for CheckAuthorizationFlags
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