pub struct TopicSubscriptionFactory<T, M> { /* private fields */ }
Expand description

This structure hold the Subscriber end of a Pub-Sub channel and can be used to create new filtered subscriber channels.

Implementations

Provide a subscriber (which will be consumed) and a topic to filter it by and this function will return a stream that yields only the desired messages

Provide a fused version of the subscription stream so that domain modules don’t need to know about fuse()

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.