[−][src]Struct tokio_postgres::Notification
An asynchronous notification.
Methods
impl Notification
[src][−]
pub fn process_id(&self) -> i32
[src][−]
The process ID of the notifying backend process.
pub fn channel(&self) -> &str
[src][−]
The name of the channel that the notify has been raised on.
pub fn payload(&self) -> &str
[src][−]
The "payload" string passed from the notifying process.
Trait Implementations
impl Clone for Notification
[src][+]
impl Debug for Notification
[src][+]
Auto Trait Implementations
impl Send for Notification
impl Sync for Notification
impl Unpin for Notification
impl UnwindSafe for Notification
impl RefUnwindSafe for Notification
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> From<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
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