Lines Matching defs:accept
26 //! To accept connections as a server from remote clients:
52 //! let stream = acceptor.accept(stream).unwrap();
2295 pub fn accept<S>(self, stream: S) -> Result<SslStream<S>, HandshakeError<S>>
2299 SslStreamBuilder::new(self, stream).accept()
3489 /// call to read or write. Otherwise the `connect` and `accept` methods can be used to
3597 pub fn accept(&mut self) -> Result<(), Error> {
3626 /// `accept`. If a HelloRetryRequest containing a fresh cookie was
3866 /// `accept`. If a HelloRetryRequest containing a fresh cookie was
3920 /// See `Ssl::accept`
3921 pub fn accept(mut self) -> Result<SslStream<S>, HandshakeError<S>> {
3922 match self.inner.accept() {