BoxGetSessionFuture

Type Alias BoxGetSessionFuture 

Source
pub type BoxGetSessionFuture = Pin<Box<dyn Future<Output = Option<Box<dyn FnOnce(&mut SslRef, &[u8]) -> Option<SslSession>>>> + Send>>;
Expand description

The type of futures to pass to SslContextBuilder::set_async_get_session_callback.

Aliased Typeยง

pub struct BoxGetSessionFuture { /* private fields */ }