Struct tls_api_stub::TlsAcceptorBuilder
source · [−]pub struct TlsAcceptorBuilder(_);
Expand description
Non-instantiatable.
Trait Implementations
sourceimpl TlsAcceptorBuilder for TlsAcceptorBuilder
impl TlsAcceptorBuilder for TlsAcceptorBuilder
type Acceptor = TlsAcceptor
type Acceptor = TlsAcceptor
Type of acceptor produced by this builder.
type Underlying = Void
type Underlying = Void
Type of the underlying builder. Read more
sourcefn set_alpn_protocols(&mut self, _protocols: &[&[u8]]) -> Result<()>
fn set_alpn_protocols(&mut self, _protocols: &[&[u8]]) -> Result<()>
Specify ALPN protocols for negotiation. Read more
sourcefn underlying_mut(&mut self) -> &mut Void
fn underlying_mut(&mut self) -> &mut Void
Get the underlying builder. Read more
sourcefn build(self) -> Result<TlsAcceptor>
fn build(self) -> Result<TlsAcceptor>
Finish the acceptor construction.
Auto Trait Implementations
impl RefUnwindSafe for TlsAcceptorBuilder
impl Send for TlsAcceptorBuilder
impl Sync for TlsAcceptorBuilder
impl Unpin for TlsAcceptorBuilder
impl UnwindSafe for TlsAcceptorBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more