Struct blaze_ssl_async::stream::BlazeAccept
source · pub struct BlazeAccept { /* private fields */ }Expand description
Structure representing a stream accepted from the underlying listener that is yet to be converted into a BlazeStream
Implementations§
source§impl BlazeAccept
impl BlazeAccept
sourcepub async fn finish_accept(
self
) -> Result<(BlazeStream, SocketAddr), BlazeError>
pub async fn finish_accept( self ) -> Result<(BlazeStream, SocketAddr), BlazeError>
Finishes the accepting process for this connection. This should be called in a seperately spawned task to prevent blocking accepting new connections. Returns the wrapped blaze stream and the socket address
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