pub struct ServerTls {
pub config: Arc<ServerConfig>,
pub captured_peer_id: CapturedPeerId,
pub captured_bls: CapturedBlsPub,
}Expand description
A server-side (inbound) mTLS configuration plus the handles that capture the connecting peer’s identity after the handshake.
Fields§
§config: Arc<ServerConfig>The rustls server configuration to hand to your TLS acceptor.
captured_peer_id: CapturedPeerIdThe peer_id of the client that connected (populated during the handshake).
captured_bls: CapturedBlsPubThe BLS G1 pubkey the client’s peer_id is bound to (populated when a valid binding was seen).
Auto Trait Implementations§
impl !RefUnwindSafe for ServerTls
impl !UnwindSafe for ServerTls
impl Freeze for ServerTls
impl Send for ServerTls
impl Sync for ServerTls
impl Unpin for ServerTls
impl UnsafeUnpin for ServerTls
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