Skip to main content

TlsByteSink

Type Alias TlsByteSink 

Source
pub type TlsByteSink = Sink<Vec<u8>, StreamCompletion<NotUsed>>;
Expand description

TLS byte sink used by accepted and outgoing TLS connections.

The sink writes one upstream chunk at a time and sends TLS/TCP shutdown from its resource close hook when upstream completes.

Aliased Typeยง

pub struct TlsByteSink { /* private fields */ }