Struct actix_tls::accept::openssl::TlsStream[][src]

pub struct TlsStream<IO>(_);
This is supported on crate features accept and openssl only.
Expand description

Wraps an openssl based async TLS stream in order to implement [ActixStream].

Methods from Deref<Target = SslStream<IO>>

This is supported on crate feature connect only.
This is supported on crate feature connect only.

A convenience method wrapping poll_connect.

This is supported on crate feature connect only.
This is supported on crate feature connect only.

A convenience method wrapping poll_accept.

This is supported on crate feature connect only.
This is supported on crate feature connect only.

A convenience method wrapping poll_do_handshake.

This is supported on crate feature connect only.
This is supported on crate feature connect only.

A convenience method wrapping poll_read_early_data.

This is supported on crate feature connect only.
This is supported on crate feature connect only.

A convenience method wrapping poll_write_early_data.

This is supported on crate feature connect only.

Returns a shared reference to the Ssl object associated with this stream.

This is supported on crate feature connect only.

Returns a shared reference to the underlying stream.

This is supported on crate feature connect only.

Returns a mutable reference to the underlying stream.

This is supported on crate feature connect only.

Returns a pinned mutable reference to the underlying stream.

Trait Implementations

Attempts to read from the AsyncRead into buf. Read more

Attempt to write bytes from buf into the object. Read more

Attempts to flush the object, ensuring that any buffered data reach their destination. Read more

Initiates or attempts to shut down this writer, returning success when the I/O connection has completely shut down. Read more

Like poll_write, except that it writes from a slice of buffers. Read more

Determines if this writer has an efficient poll_write_vectored implementation. Read more

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.