Struct actyxos_sdk::event_service::Subscription [−][src]
pub struct Subscription { /* fields omitted */ }
Expand description
A subscription describes a selection of events.
It is based on the characteristics of
- semantics (i.e. the kind of fish when using the Pond)
- name (i.e. the particular instance of this kind of fish)
- source ID (i.e. the originating ActyxOS node)
Implementations
Subscribe to all events accessible to this app. This set can be very big, it is recommended to structure events into smaller streams and request those.
Subscribe to all events of the given semantics, regardless of which fish instance produced them or where.
Subscribe to all events of a distributed fish, identified by its semantics and name.
Subscribe to precisely a single fish on the given ActyxOS node.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl !RefUnwindSafe for Subscription
impl Send for Subscription
impl Sync for Subscription
impl Unpin for Subscription
impl !UnwindSafe for Subscription
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Performs the conversion.
Performs the conversion.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more