Enum bastion::dispatcher::NotificationType [−][src]
pub enum NotificationType {
Register,
Remove,
}
Expand description
Defines types of the notifications handled by the dispatcher when the group of actors is changing.
Variants
Register
Represents a notification when a new actor wants to join to the existing group of actors.
Remove
Represents a notification when the existing actor was stopped, killed, suspended or finished an execution.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NotificationType
impl Send for NotificationType
impl Sync for NotificationType
impl Unpin for NotificationType
impl UnwindSafe for NotificationType
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