Struct tokio_rustls::StartHandshake
source · [−]pub struct StartHandshake<IO> { /* private fields */ }
Implementations
sourceimpl<IO> StartHandshake<IO> where
IO: AsyncRead + AsyncWrite + Unpin,
impl<IO> StartHandshake<IO> where
IO: AsyncRead + AsyncWrite + Unpin,
pub fn client_hello(&self) -> ClientHello<'_>
pub fn into_stream(self, config: Arc<ServerConfig>) -> Accept<IO>ⓘNotable traits for Accept<IO>impl<IO: AsyncRead + AsyncWrite + Unpin> Future for Accept<IO> type Output = Result<TlsStream<IO>>;
pub fn into_stream_with<F>(self, config: Arc<ServerConfig>, f: F) -> Accept<IO>ⓘNotable traits for Accept<IO>impl<IO: AsyncRead + AsyncWrite + Unpin> Future for Accept<IO> type Output = Result<TlsStream<IO>>;
where
F: FnOnce(&mut ServerConnection),
Auto Trait Implementations
impl<IO> !RefUnwindSafe for StartHandshake<IO>
impl<IO> Send for StartHandshake<IO> where
IO: Send,
impl<IO> Sync for StartHandshake<IO> where
IO: Sync,
impl<IO> Unpin for StartHandshake<IO> where
IO: Unpin,
impl<IO> !UnwindSafe for StartHandshake<IO>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more