[−][src]Enum parsec_client::auth::Authentication
Authentication data used in Parsec requests
Variants
Used in cases where no authentication is desired or required
Direct(String)
Data used for direct, identity-based authentication
Warning: Systems using direct authentication require extra measures to be as secure as deployments with other authentication mechanisms. Please check the Parsec Threat Model for more information.
Used for authentication via Peer Credentials provided by Unix operating systems for Domain Socket connections.
Implementations
impl Authentication
[src]
Trait Implementations
impl Clone for Authentication
[src]
fn clone(&self) -> Authentication
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Authentication
[src]
impl<'_> From<&'_ Authentication> for RequestAuth
[src]
fn from(data: &Authentication) -> Self
[src]
impl PartialEq<Authentication> for Authentication
[src]
Auto Trait Implementations
impl RefUnwindSafe for Authentication
impl Send for Authentication
impl Sync for Authentication
impl Unpin for Authentication
impl UnwindSafe for Authentication
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,