Enum wampire::InvocationPolicy [−][src]
pub enum InvocationPolicy { Single, RoundRobin, Random, First, Last, }
The policies that dictate how invocations are distributed amongst shared registrations
Variants
Single
RoundRobin
Random
First
Last
Trait Implementations
impl PartialEq for InvocationPolicy
[src]
impl PartialEq for InvocationPolicy
fn eq(&self, other: &InvocationPolicy) -> bool
[src]
fn eq(&self, other: &InvocationPolicy) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Debug for InvocationPolicy
[src]
impl Debug for InvocationPolicy
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for InvocationPolicy
[src]
impl Clone for InvocationPolicy
fn clone(&self) -> InvocationPolicy
[src]
fn clone(&self) -> InvocationPolicy
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for InvocationPolicy
[src]
impl Copy for InvocationPolicy
impl Default for InvocationPolicy
[src]
impl Default for InvocationPolicy
fn default() -> InvocationPolicy
[src]
fn default() -> InvocationPolicy
Returns the "default value" for a type. Read more
impl Serialize for InvocationPolicy
[src]
impl Serialize for InvocationPolicy
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for InvocationPolicy
[src]
impl<'de> Deserialize<'de> for InvocationPolicy
fn deserialize<D>(deserializer: D) -> Result<InvocationPolicy, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<InvocationPolicy, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl Send for InvocationPolicy
impl Send for InvocationPolicy
impl Sync for InvocationPolicy
impl Sync for InvocationPolicy