pub struct AlpnHandlerConfigBuilder(/* private fields */);Implementations§
Source§impl AlpnHandlerConfigBuilder
impl AlpnHandlerConfigBuilder
pub fn allowed_hosts( self, hosts: impl IntoIterator<Item = impl AsRef<str>>, ) -> Result<Self>
pub fn cert_store(self, store: Arc<dyn CertStore>) -> Self
pub fn event_handler( self, handler: Arc<dyn Fn(&Event) + Send + Sync + 'static>, ) -> Self
pub fn build(self) -> Result<AlpnHandlerConfig>
Auto Trait Implementations§
impl !RefUnwindSafe for AlpnHandlerConfigBuilder
impl !UnwindSafe for AlpnHandlerConfigBuilder
impl Freeze for AlpnHandlerConfigBuilder
impl Send for AlpnHandlerConfigBuilder
impl Sync for AlpnHandlerConfigBuilder
impl Unpin for AlpnHandlerConfigBuilder
impl UnsafeUnpin for AlpnHandlerConfigBuilder
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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