Struct hyper_native_tls::StreamGuard [] [src]

pub struct StreamGuard<'a, T: Read + Write + 'a>(_);

A guard around a locked inner TlsStream.

Methods from Deref<Target = TlsStream<T>>

Important traits for &'a mut R
[src]

Returns a shared reference to the inner stream.

Important traits for &'a mut R
[src]

Returns a mutable reference to the inner stream.

[src]

Returns the number of bytes that can be read without resulting in any network calls.

[src]

Shuts down the TLS session.

Trait Implementations

impl<'a, T> Deref for StreamGuard<'a, T> where
    T: Read + Write + 'a, 
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl<'a, T> DerefMut for StreamGuard<'a, T> where
    T: Read + Write + 'a, 
[src]

[src]

Mutably dereferences the value.