Enum zbus::AuthMechanism
source · pub enum AuthMechanism {
External,
Cookie,
Anonymous,
}
Expand description
Authentication mechanisms
See https://dbus.freedesktop.org/doc/dbus-specification.html#auth-mechanisms
Variants§
External
This is the recommended authentication mechanism on platforms where credentials can be
transferred out-of-band, in particular Unix platforms that can perform credentials-passing
over the unix:
transport.
Cookie
This mechanism is designed to establish that a client has the ability to read a private file owned by the user being authenticated.
Anonymous
Does not perform any authentication at all, and should not be accepted by message buses. However, it might sometimes be useful for non-message-bus uses of D-Bus.
Trait Implementations§
source§impl Clone for AuthMechanism
impl Clone for AuthMechanism
source§fn clone(&self) -> AuthMechanism
fn clone(&self) -> AuthMechanism
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AuthMechanism
impl Debug for AuthMechanism
source§impl Display for AuthMechanism
impl Display for AuthMechanism
source§impl FromStr for AuthMechanism
impl FromStr for AuthMechanism
source§impl PartialEq for AuthMechanism
impl PartialEq for AuthMechanism
impl Copy for AuthMechanism
impl Eq for AuthMechanism
impl StructuralPartialEq for AuthMechanism
Auto Trait Implementations§
impl Freeze for AuthMechanism
impl RefUnwindSafe for AuthMechanism
impl Send for AuthMechanism
impl Sync for AuthMechanism
impl Unpin for AuthMechanism
impl UnwindSafe for AuthMechanism
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)