pub enum SteeringPolicy {
Nil,
Off,
Geo,
Random,
DynamicLatency,
}Variants§
Nil
Empty policy maps to Geo if region_pools or pop_pools are used, or otherwise Off.
Off
Geo
Random
DynamicLatency
Trait Implementations§
Source§impl Clone for SteeringPolicy
impl Clone for SteeringPolicy
Source§fn clone(&self) -> SteeringPolicy
fn clone(&self) -> SteeringPolicy
Returns a duplicate of the value. Read more
1.0.0 · 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 SteeringPolicy
impl Debug for SteeringPolicy
Source§impl<'de> Deserialize<'de> for SteeringPolicy
impl<'de> Deserialize<'de> for SteeringPolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SteeringPolicy
impl PartialEq for SteeringPolicy
Source§impl Serialize for SteeringPolicy
impl Serialize for SteeringPolicy
impl Eq for SteeringPolicy
impl StructuralPartialEq for SteeringPolicy
Auto Trait Implementations§
impl Freeze for SteeringPolicy
impl RefUnwindSafe for SteeringPolicy
impl Send for SteeringPolicy
impl Sync for SteeringPolicy
impl Unpin for SteeringPolicy
impl UnwindSafe for SteeringPolicy
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