Struct blaze_ssl_async::listener::BlazeAccept
source · pub struct BlazeAccept { /* private fields */ }
Expand description
Represents an stream accepting from a BlazeListener that has not yet completed its SSL handshake.
To complete the handshake and get a BlazeStream call the BlazeAccept::finish_accept function
Implementations§
source§impl BlazeAccept
impl BlazeAccept
sourcepub async fn finish_accept(self) -> Result<(BlazeStream, SocketAddr)>
pub async fn finish_accept(self) -> Result<(BlazeStream, SocketAddr)>
Completes the SSL handshake for this accepting connection turning it into a BlazeStream so that it can be used
Auto Trait Implementations§
impl RefUnwindSafe for BlazeAccept
impl Send for BlazeAccept
impl Sync for BlazeAccept
impl Unpin for BlazeAccept
impl UnwindSafe for BlazeAccept
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