[−][src]Struct actix_postgres::PostgresMessage
PostgreSQL Message
Methods
impl<F, Tls, R> PostgresMessage<F, Tls, R> where
Tls: MakeTlsConnect<Socket> + Clone + Send + Sync + 'static + Unpin,
<Tls as MakeTlsConnect<Socket>>::Stream: Send + Sync,
<Tls as MakeTlsConnect<Socket>>::TlsConnect: Send,
<<Tls as MakeTlsConnect<Socket>>::TlsConnect as TlsConnect<Socket>>::Future: Send + Unpin,
F: FnOnce(Pool<PostgresConnectionManager<Tls>>) -> ResponseFuture<Result<R, PostgresError>> + 'static + Send + Sync,
[src]
Tls: MakeTlsConnect<Socket> + Clone + Send + Sync + 'static + Unpin,
<Tls as MakeTlsConnect<Socket>>::Stream: Send + Sync,
<Tls as MakeTlsConnect<Socket>>::TlsConnect: Send,
<<Tls as MakeTlsConnect<Socket>>::TlsConnect as TlsConnect<Socket>>::Future: Send + Unpin,
F: FnOnce(Pool<PostgresConnectionManager<Tls>>) -> ResponseFuture<Result<R, PostgresError>> + 'static + Send + Sync,
Trait Implementations
impl<F: Debug, Tls: Debug, R: Debug> Debug for PostgresMessage<F, Tls, R> where
Tls: MakeTlsConnect<Socket> + Clone + Send + Sync + 'static + Unpin,
<Tls as MakeTlsConnect<Socket>>::Stream: Send + Sync,
<Tls as MakeTlsConnect<Socket>>::TlsConnect: Send,
<<Tls as MakeTlsConnect<Socket>>::TlsConnect as TlsConnect<Socket>>::Future: Send + Unpin,
F: FnOnce(Pool<PostgresConnectionManager<Tls>>) -> ResponseFuture<Result<R, PostgresError>> + 'static,
[src]
Tls: MakeTlsConnect<Socket> + Clone + Send + Sync + 'static + Unpin,
<Tls as MakeTlsConnect<Socket>>::Stream: Send + Sync,
<Tls as MakeTlsConnect<Socket>>::TlsConnect: Send,
<<Tls as MakeTlsConnect<Socket>>::TlsConnect as TlsConnect<Socket>>::Future: Send + Unpin,
F: FnOnce(Pool<PostgresConnectionManager<Tls>>) -> ResponseFuture<Result<R, PostgresError>> + 'static,
impl<F, Tls, R> Handler<PostgresMessage<F, Tls, R>> for PostgresActor<Tls> where
R: 'static + Send,
Tls: MakeTlsConnect<Socket> + Clone + Send + Sync + 'static + Unpin,
<Tls as MakeTlsConnect<Socket>>::Stream: Send + Sync,
<Tls as MakeTlsConnect<Socket>>::TlsConnect: Send,
<<Tls as MakeTlsConnect<Socket>>::TlsConnect as TlsConnect<Socket>>::Future: Send + Unpin,
F: FnOnce(Pool<PostgresConnectionManager<Tls>>) -> ResponseFuture<Result<R, PostgresError>> + 'static + Send + Sync,
[src]
R: 'static + Send,
Tls: MakeTlsConnect<Socket> + Clone + Send + Sync + 'static + Unpin,
<Tls as MakeTlsConnect<Socket>>::Stream: Send + Sync,
<Tls as MakeTlsConnect<Socket>>::TlsConnect: Send,
<<Tls as MakeTlsConnect<Socket>>::TlsConnect as TlsConnect<Socket>>::Future: Send + Unpin,
F: FnOnce(Pool<PostgresConnectionManager<Tls>>) -> ResponseFuture<Result<R, PostgresError>> + 'static + Send + Sync,
type Result = ResponseFuture<Result<R, PostgresError>>
The type of value that this handler will return.
fn handle(
&mut self,
msg: PostgresMessage<F, Tls, R>,
_ctx: &mut Self::Context
) -> Self::Result
[src]
&mut self,
msg: PostgresMessage<F, Tls, R>,
_ctx: &mut Self::Context
) -> Self::Result
impl<F, Tls, R> Message for PostgresMessage<F, Tls, R> where
R: 'static,
Tls: MakeTlsConnect<Socket> + Clone + Send + Sync + 'static + Unpin,
<Tls as MakeTlsConnect<Socket>>::Stream: Send + Sync,
<Tls as MakeTlsConnect<Socket>>::TlsConnect: Send,
<<Tls as MakeTlsConnect<Socket>>::TlsConnect as TlsConnect<Socket>>::Future: Send + Unpin,
F: FnOnce(Pool<PostgresConnectionManager<Tls>>) -> ResponseFuture<Result<R, PostgresError>> + 'static + Send + Sync,
[src]
R: 'static,
Tls: MakeTlsConnect<Socket> + Clone + Send + Sync + 'static + Unpin,
<Tls as MakeTlsConnect<Socket>>::Stream: Send + Sync,
<Tls as MakeTlsConnect<Socket>>::TlsConnect: Send,
<<Tls as MakeTlsConnect<Socket>>::TlsConnect as TlsConnect<Socket>>::Future: Send + Unpin,
F: FnOnce(Pool<PostgresConnectionManager<Tls>>) -> ResponseFuture<Result<R, PostgresError>> + 'static + Send + Sync,
type Result = Result<R, PostgresError>
The type of value that this message will resolved with if it is successful. Read more
Auto Trait Implementations
impl<F, Tls, R> RefUnwindSafe for PostgresMessage<F, Tls, R> where
F: RefUnwindSafe,
Tls: RefUnwindSafe,
F: RefUnwindSafe,
Tls: RefUnwindSafe,
impl<F, Tls, R> Send for PostgresMessage<F, Tls, R> where
F: Send,
F: Send,
impl<F, Tls, R> Sync for PostgresMessage<F, Tls, R> where
F: Sync,
F: Sync,
impl<F, Tls, R> Unpin for PostgresMessage<F, Tls, R> where
F: Unpin,
F: Unpin,
impl<F, Tls, R> UnwindSafe for PostgresMessage<F, Tls, R> where
F: UnwindSafe,
Tls: UnwindSafe,
F: UnwindSafe,
Tls: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,