pub struct UnixPeerCredentialsAuthenticator { /* private fields */ }Expand description
Unix peer credentials authenticator.
Implementations§
Trait Implementations§
Source§impl Authenticate for UnixPeerCredentialsAuthenticator
impl Authenticate for UnixPeerCredentialsAuthenticator
Source§fn describe(&self) -> Result<AuthenticatorInfo>
fn describe(&self) -> Result<AuthenticatorInfo>
Return a description of the authenticator. Read more
Source§fn authenticate(
&self,
auth: &RequestAuth,
meta: Option<ConnectionMetadata>,
) -> Result<Application>
fn authenticate( &self, auth: &RequestAuth, meta: Option<ConnectionMetadata>, ) -> Result<Application>
Authenticates a
RequestAuth payload and returns the Application if successful. A
optional ConnectionMetadata object is passed in too, since it is sometimes possible to
perform authentication based on the connection’s metadata (i.e. as is the case for UNIX
domain sockets with Unix peer credentials). Read moreSource§impl Clone for UnixPeerCredentialsAuthenticator
impl Clone for UnixPeerCredentialsAuthenticator
Source§fn clone(&self) -> UnixPeerCredentialsAuthenticator
fn clone(&self) -> UnixPeerCredentialsAuthenticator
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for UnixPeerCredentialsAuthenticator
impl RefUnwindSafe for UnixPeerCredentialsAuthenticator
impl Send for UnixPeerCredentialsAuthenticator
impl Sync for UnixPeerCredentialsAuthenticator
impl Unpin for UnixPeerCredentialsAuthenticator
impl UnwindSafe for UnixPeerCredentialsAuthenticator
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