[][src]Enum casper_node::reactor::QueueKind

pub enum QueueKind {
    NetworkIncoming,
    Network,
    Regular,
    Api,
}

Scheduling priority.

Priorities are ordered from lowest to highest.

Variants

NetworkIncoming

Network events that were initiated outside of this node.

Their load may vary and grouping them together in one queue aides DoS protection.

Network

Network events that were initiated by the local node, such as outgoing messages.

Regular

Events of unspecified priority.

This is the default queue.

Api

Reporting events on the local node.

Metric events take precedence over most other events since missing a request for metrics might cause the requester to assume that the node is down and forcefully restart it.

Trait Implementations

impl Clone for QueueKind[src]

impl Copy for QueueKind[src]

impl Debug for QueueKind[src]

impl Default for QueueKind[src]

impl Display for QueueKind[src]

impl Eq for QueueKind[src]

impl Hash for QueueKind[src]

impl IntoEnumIterator for QueueKind[src]

type Iterator = QueueKindEnumIterator

Type of the iterator over the variants.

impl Ord for QueueKind[src]

impl PartialEq<QueueKind> for QueueKind[src]

impl PartialOrd<QueueKind> for QueueKind[src]

impl Serialize for QueueKind[src]

impl StructuralEq for QueueKind[src]

impl StructuralPartialEq for QueueKind[src]

Auto Trait Implementations

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> CallHasher for T where
    T: Hash

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> RuleType for T where
    T: Eq + Ord + Copy + Debug + Hash
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

impl<T> WithSubscriber for T[src]