pub enum RingStrategy {
RingAll,
LeastRecent,
FewestCalls,
Random,
RrMemory,
Linear,
WRandom,
Unknown(String),
}Expand description
Queue ring strategy. Mirrors Asterisk’s queue strategy options.
Variants§
RingAll
LeastRecent
FewestCalls
Random
RrMemory
Linear
WRandom
Unknown(String)
Any wire value this crate doesn’t recognize.
Implementations§
Trait Implementations§
Source§impl Clone for RingStrategy
impl Clone for RingStrategy
Source§fn clone(&self) -> RingStrategy
fn clone(&self) -> RingStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RingStrategy
impl Debug for RingStrategy
Source§impl<'de> Deserialize<'de> for RingStrategy
impl<'de> Deserialize<'de> for RingStrategy
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for RingStrategy
impl Display for RingStrategy
Source§impl PartialEq for RingStrategy
impl PartialEq for RingStrategy
Source§fn eq(&self, other: &RingStrategy) -> bool
fn eq(&self, other: &RingStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RingStrategy
impl Serialize for RingStrategy
impl Eq for RingStrategy
impl StructuralPartialEq for RingStrategy
Auto Trait Implementations§
impl Freeze for RingStrategy
impl RefUnwindSafe for RingStrategy
impl Send for RingStrategy
impl Sync for RingStrategy
impl Unpin for RingStrategy
impl UnsafeUnpin for RingStrategy
impl UnwindSafe for RingStrategy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more