Struct postgres::notification::Notifications [] [src]

pub struct Notifications<'conn> { /* fields omitted */ }

Notifications from the Postgres backend.

Methods

impl<'conn> Notifications<'conn>
[src]

[src]

Returns the number of pending notifications.

[src]

Determines if there are any pending notifications.

[src]

Returns a fallible iterator over pending notifications.

Note

This iterator may start returning Some after previously returning None if more notifications are received.

[src]

Returns a fallible iterator over notifications that blocks until one is received if none are pending.

The iterator will never return None.

[src]

Returns a fallible iterator over notifications that blocks for a limited time waiting to receive one if none are pending.

Note

This iterator may start returning Some after previously returning None if more notifications are received.

Trait Implementations

impl<'a> Debug for Notifications<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a, 'conn> IntoFallibleIterator for &'a Notifications<'conn>
[src]

The elements of the iterator.

The error value of the iterator.

The iterator.

[src]

Creates a fallible iterator from a value.