pub struct ServerAuthenticationRequest<'a, Peer> { /* private fields */ }Expand description
Immutable inputs available to one authentication session.
Implementations§
Source§impl<Peer> ServerAuthenticationRequest<'_, Peer>
impl<Peer> ServerAuthenticationRequest<'_, Peer>
Sourcepub const fn startup(&self) -> &StartupMessage
pub const fn startup(&self) -> &StartupMessage
Returns the accepted startup message.
Sourcepub const fn tls(&self) -> &NegotiatedServerTls
pub const fn tls(&self) -> &NegotiatedServerTls
Returns the negotiated transport security fact.
Trait Implementations§
Source§impl<Peer> Clone for ServerAuthenticationRequest<'_, Peer>
impl<Peer> Clone for ServerAuthenticationRequest<'_, Peer>
impl<Peer> Copy for ServerAuthenticationRequest<'_, Peer>
Auto Trait Implementations§
impl<'a, Peer> Freeze for ServerAuthenticationRequest<'a, Peer>
impl<'a, Peer> RefUnwindSafe for ServerAuthenticationRequest<'a, Peer>where
Peer: RefUnwindSafe,
impl<'a, Peer> Send for ServerAuthenticationRequest<'a, Peer>where
Peer: Sync,
impl<'a, Peer> Sync for ServerAuthenticationRequest<'a, Peer>where
Peer: Sync,
impl<'a, Peer> Unpin for ServerAuthenticationRequest<'a, Peer>
impl<'a, Peer> UnsafeUnpin for ServerAuthenticationRequest<'a, Peer>
impl<'a, Peer> UnwindSafe for ServerAuthenticationRequest<'a, Peer>where
Peer: RefUnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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