pub enum BalancerProto {
Http,
Http2,
Https,
Tcp,
}Expand description
Протокол балансировщика.
Variants§
Trait Implementations§
Source§impl Clone for BalancerProto
impl Clone for BalancerProto
Source§fn clone(&self) -> BalancerProto
fn clone(&self) -> BalancerProto
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 BalancerProto
impl Debug for BalancerProto
Source§impl Default for BalancerProto
impl Default for BalancerProto
Source§fn default() -> BalancerProto
fn default() -> BalancerProto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BalancerProto
impl<'de> Deserialize<'de> for BalancerProto
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 Hash for BalancerProto
impl Hash for BalancerProto
Source§impl Ord for BalancerProto
impl Ord for BalancerProto
Source§fn cmp(&self, other: &BalancerProto) -> Ordering
fn cmp(&self, other: &BalancerProto) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BalancerProto
impl PartialEq for BalancerProto
Source§fn eq(&self, other: &BalancerProto) -> bool
fn eq(&self, other: &BalancerProto) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BalancerProto
impl PartialOrd for BalancerProto
Source§impl Serialize for BalancerProto
impl Serialize for BalancerProto
impl Copy for BalancerProto
impl Eq for BalancerProto
impl StructuralPartialEq for BalancerProto
Auto Trait Implementations§
impl Freeze for BalancerProto
impl RefUnwindSafe for BalancerProto
impl Send for BalancerProto
impl Sync for BalancerProto
impl Unpin for BalancerProto
impl UnsafeUnpin for BalancerProto
impl UnwindSafe for BalancerProto
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