[][src]Enum bastion::dispatcher::DispatcherType

pub enum DispatcherType {
    Anonymous,
    Named(String),
}

Defines the type of the dispatcher.

The default type is Anonymous.

Variants

Anonymous

The default kind of the dispatcher which is using for handling all actors in the cluster. Can be more than one instance of this type.

Named(String)

The dispatcher with a unique name which will be using for updating and notifying actors in the same group base on the desired strategy. The logic handling broadcasted messages and their distribution across the group depends on the dispatcher's handler.

Trait Implementations

impl Clone for DispatcherType[src]

impl Debug for DispatcherType[src]

impl Default for DispatcherType[src]

impl Eq for DispatcherType[src]

impl Hash for DispatcherType[src]

impl Into<DispatcherType> for String[src]

impl PartialEq<DispatcherType> for DispatcherType[src]

impl StructuralEq for DispatcherType[src]

impl StructuralPartialEq for DispatcherType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsAny for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Message for T where
    T: Any + Send + Sync + Debug
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> State for T where
    T: Send + Sync + 'static, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,