Struct tokio_rustls::StartHandshake
source · pub struct StartHandshake<IO> { /* private fields */ }
Implementations§
source§impl<IO> StartHandshake<IO>
impl<IO> StartHandshake<IO>
pub fn client_hello(&self) -> ClientHello<'_>
pub fn into_stream(self, config: Arc<ServerConfig>) -> Accept<IO> ⓘ
pub fn into_stream_with<F>(self, config: Arc<ServerConfig>, f: F) -> Accept<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§
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