Enum moleculer::config::Channel[][src]

pub enum Channel {
    Event,
    Request,
    Response,
    Discover,
    DiscoverTargeted,
    Info,
    InfoTargeted,
    Heartbeat,
    Ping,
    PongPrefix,
    Pong,
    PingTargeted,
    Disconnect,
}

Variants

Event
Request
Response
Discover
DiscoverTargeted
Info
InfoTargeted
Heartbeat
Ping
PongPrefix
Pong
PingTargeted
Disconnect

Implementations

impl Channel[src]

pub fn build_hashmap(config: &Config) -> HashMap<Channel, String>[src]

pub fn channel_to_string(&self, config: &Config) -> String[src]

pub fn external_channel<S>(&self, config: &Config, node_name: S) -> String where
    S: AsRef<str> + Display
[src]

Trait Implementations

impl Clone for Channel[src]

impl Debug for Channel[src]

impl Eq for Channel[src]

impl Hash for Channel[src]

impl IntoEnumIterator for Channel[src]

type Iterator = ChannelIter

impl PartialEq<Channel> for Channel[src]

impl StructuralEq for Channel[src]

impl StructuralPartialEq for Channel[src]

Auto Trait Implementations

impl RefUnwindSafe for Channel

impl Send for Channel

impl Sync for Channel

impl Unpin for Channel

impl UnwindSafe for Channel

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[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> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

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>,