pub struct Identities(/* private fields */);Expand description
The publisher identities serving a rendition’s broadcast, as each comes online, takes over,
and goes. Created by Source::follow.
A sibling broadcast is followed through Following; the
catalog’s own broadcast is handed out once and its end never reported, since a reader
follows its catalog’s end itself.
Implementations§
Source§impl Identities
impl Identities
Sourcepub fn poll_next(&mut self, waiter: &Waiter) -> Poll<Result<Option<Consumer>>>
pub fn poll_next(&mut self, waiter: &Waiter) -> Poll<Result<Option<Consumer>>>
The next change.
Returns each identity as it comes online or takes over, and None once the path goes
offline; see
Following::available. Fails once the origin
closes, and with any resolution failure, such as a handler refusing the path; the call
after a refusal waits for the serving route to change.
Sourcepub async fn next(&mut self) -> Result<Option<Consumer>>
pub async fn next(&mut self) -> Result<Option<Consumer>>
The next change.
Returns each identity as it comes online or takes over, and None once the path goes
offline; see
Following::available. Fails once the origin
closes, and with any resolution failure, such as a handler refusing the path; the call
after a refusal waits for the serving route to change.
Awaits poll_next.