[−][src]Struct tokio_postgres_rustls::RustlsConnect
Trait Implementations
impl<S> TlsConnect<S> for RustlsConnect where
S: AsyncRead + AsyncWrite + Send + 'static, [src]
S: AsyncRead + AsyncWrite + Send + 'static,
type Stream = TlsStream<S>
The stream returned by the future.
type Error = Error
The error type returned by the future.
type Future = Box<dyn Future<Item = (Self::Stream, ChannelBinding), Error = Self::Error> + Send>
The future returned by the connector.
fn connect(self, stream: S) -> Self::Future[src]
Auto Trait Implementations
impl Unpin for RustlsConnect
impl Sync for RustlsConnect
impl Send for RustlsConnect
impl !RefUnwindSafe for RustlsConnect
impl !UnwindSafe for RustlsConnect
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self