Enum bastion::dispatcher::BroadcastTarget [−][src]
pub enum BroadcastTarget {
All,
Group(String),
}
Expand description
Defines types of the notifications handled by the dispatcher when the group of actors is changing.
If the message can’t be delivered to the declared group, then the message will be marked as the “dead letter”.
Variants
All
Send the broadcasted message to everyone in the system.
Group(String)
Tuple Fields
0: String
Send the broadcasted message to each actor in group.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BroadcastTarget
impl Send for BroadcastTarget
impl Sync for BroadcastTarget
impl Unpin for BroadcastTarget
impl UnwindSafe for BroadcastTarget
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
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