pub struct UdpFrontend {
pub cluster_id: String,
pub address: SocketAddr,
pub tags: BTreeMap<String, String>,
}Expand description
A UDP frontend, as used within Sōzu
Fields§
§cluster_id: String§address: SocketAddrcustom tags to identify the frontend in the access logs
Trait Implementations§
Source§impl Clone for UdpFrontend
impl Clone for UdpFrontend
Source§fn clone(&self) -> UdpFrontend
fn clone(&self) -> UdpFrontend
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 UdpFrontend
impl Debug for UdpFrontend
Source§impl<'de> Deserialize<'de> for UdpFrontend
impl<'de> Deserialize<'de> for UdpFrontend
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
impl Eq for UdpFrontend
Source§impl From<UdpFrontend> for RequestUdpFrontend
impl From<UdpFrontend> for RequestUdpFrontend
Source§fn from(val: UdpFrontend) -> Self
fn from(val: UdpFrontend) -> Self
Converts to this type from the input type.
Source§impl Hash for UdpFrontend
impl Hash for UdpFrontend
Source§impl Ord for UdpFrontend
impl Ord for UdpFrontend
Source§fn cmp(&self, other: &UdpFrontend) -> Ordering
fn cmp(&self, other: &UdpFrontend) -> 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 UdpFrontend
impl PartialEq for UdpFrontend
Source§fn eq(&self, other: &UdpFrontend) -> bool
fn eq(&self, other: &UdpFrontend) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for UdpFrontend
impl PartialOrd for UdpFrontend
Source§impl Serialize for UdpFrontend
impl Serialize for UdpFrontend
impl StructuralPartialEq for UdpFrontend
Auto Trait Implementations§
impl Freeze for UdpFrontend
impl RefUnwindSafe for UdpFrontend
impl Send for UdpFrontend
impl Sync for UdpFrontend
impl Unpin for UdpFrontend
impl UnsafeUnpin for UdpFrontend
impl UnwindSafe for UdpFrontend
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.