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