Struct loco_protocol::secure::session::SecureClientSession [−][src]
pub struct SecureClientSession { /* fields omitted */ }Expand description
Client side credential session
Implementations
pub fn handshake<S: Write>(
&self,
secure_stream: &mut SecureStream<S>
) -> Result<(), SecureHandshakeError>
pub fn handshake<S: Write>(
&self,
secure_stream: &mut SecureStream<S>
) -> Result<(), SecureHandshakeError>
Do client handshake
pub async fn handshake_async<'a, S: AsyncWrite + Unpin>(
&self,
secure_stream: &'a mut SecureStream<S>
) -> Result<(), SecureHandshakeError>
pub async fn handshake_async<'a, S: AsyncWrite + Unpin>(
&self,
secure_stream: &'a mut SecureStream<S>
) -> Result<(), SecureHandshakeError>
Do client handshake async
