#[repr(u32)]
pub enum CheckAuthorizationFlags {
AllowUserInteraction,
}
Expand description
Flags used in the CheckAuthorization() method.
Variants
AllowUserInteraction
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
sourceimpl BitAnd<CheckAuthorizationFlags> for CheckAuthorizationFlags
impl BitAnd<CheckAuthorizationFlags> for CheckAuthorizationFlags
type Output = BitFlags<CheckAuthorizationFlags, <CheckAuthorizationFlags as RawBitFlags>::Numeric>
type Output = BitFlags<CheckAuthorizationFlags, <CheckAuthorizationFlags as RawBitFlags>::Numeric>
The resulting type after applying the &
operator.
sourceimpl BitFlag for CheckAuthorizationFlags
impl BitFlag for CheckAuthorizationFlags
sourceimpl BitOr<CheckAuthorizationFlags> for CheckAuthorizationFlags
impl BitOr<CheckAuthorizationFlags> for CheckAuthorizationFlags
type Output = BitFlags<CheckAuthorizationFlags, <CheckAuthorizationFlags as RawBitFlags>::Numeric>
type Output = BitFlags<CheckAuthorizationFlags, <CheckAuthorizationFlags as RawBitFlags>::Numeric>
The resulting type after applying the |
operator.
sourceimpl BitXor<CheckAuthorizationFlags> for CheckAuthorizationFlags
impl BitXor<CheckAuthorizationFlags> for CheckAuthorizationFlags
type Output = BitFlags<CheckAuthorizationFlags, <CheckAuthorizationFlags as RawBitFlags>::Numeric>
type Output = BitFlags<CheckAuthorizationFlags, <CheckAuthorizationFlags as RawBitFlags>::Numeric>
The resulting type after applying the ^
operator.
sourceimpl Clone for CheckAuthorizationFlags
impl Clone for CheckAuthorizationFlags
sourcefn clone(&self) -> CheckAuthorizationFlags
fn clone(&self) -> CheckAuthorizationFlags
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 CheckAuthorizationFlags
impl Debug for CheckAuthorizationFlags
sourceimpl<'de> Deserialize<'de> for CheckAuthorizationFlags
impl<'de> Deserialize<'de> for CheckAuthorizationFlags
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 CheckAuthorizationFlags
impl Not for CheckAuthorizationFlags
type Output = BitFlags<CheckAuthorizationFlags, <CheckAuthorizationFlags as RawBitFlags>::Numeric>
type Output = BitFlags<CheckAuthorizationFlags, <CheckAuthorizationFlags as RawBitFlags>::Numeric>
The resulting type after applying the !
operator.
sourceimpl PartialEq<CheckAuthorizationFlags> for CheckAuthorizationFlags
impl PartialEq<CheckAuthorizationFlags> for CheckAuthorizationFlags
sourcefn eq(&self, other: &CheckAuthorizationFlags) -> bool
fn eq(&self, other: &CheckAuthorizationFlags) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl RawBitFlags for CheckAuthorizationFlags
impl RawBitFlags for CheckAuthorizationFlags
sourceconst EMPTY: Self::Numeric = {transmute(0x00000000): <policykit1::CheckAuthorizationFlags as enumflags2::_internal::RawBitFlags>::Numeric}
const EMPTY: Self::Numeric = {transmute(0x00000000): <policykit1::CheckAuthorizationFlags as enumflags2::_internal::RawBitFlags>::Numeric}
A value with no bits set.
sourceconst DEFAULT: Self::Numeric = {transmute(0x00000000): <policykit1::CheckAuthorizationFlags as enumflags2::_internal::RawBitFlags>::Numeric}
const DEFAULT: Self::Numeric = {transmute(0x00000000): <policykit1::CheckAuthorizationFlags as enumflags2::_internal::RawBitFlags>::Numeric}
The value used by the Default implementation. Equivalent to EMPTY, unless customized. Read more
sourceconst ALL_BITS: Self::Numeric = {transmute(0x00000001): <policykit1::CheckAuthorizationFlags as enumflags2::_internal::RawBitFlags>::Numeric}
const ALL_BITS: Self::Numeric = {transmute(0x00000001): <policykit1::CheckAuthorizationFlags as enumflags2::_internal::RawBitFlags>::Numeric}
A value with all flag bits set.
sourceconst BITFLAGS_TYPE_NAME: &'static str = _
const BITFLAGS_TYPE_NAME: &'static str = _
The name of the type for debug formatting purposes. Read more
sourceimpl Serialize for CheckAuthorizationFlags
impl Serialize for CheckAuthorizationFlags
sourceimpl Type for CheckAuthorizationFlags
impl Type for CheckAuthorizationFlags
impl Copy for CheckAuthorizationFlags
impl Eq for CheckAuthorizationFlags
impl StructuralEq for CheckAuthorizationFlags
impl StructuralPartialEq for CheckAuthorizationFlags
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
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
Mutably borrows from an owned value. Read more
sourceimpl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de> + ?Sized,
impl<'de, T> DynamicDeserialize<'de> for Twhere
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 Twhere
T: Type + ?Sized,
impl<T> DynamicType for Twhere
T: Type + ?Sized,
sourcefn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more