Enum sozu_command_lib::proxy::ProxyEvent
source · pub enum ProxyEvent {
BackendDown(String, SocketAddr),
NoAvailableBackends(String),
}
Variants§
BackendDown(String, SocketAddr)
NoAvailableBackends(String)
Trait Implementations§
source§impl Clone for ProxyEvent
impl Clone for ProxyEvent
source§fn clone(&self) -> ProxyEvent
fn clone(&self) -> ProxyEvent
Returns a copy 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 ProxyEvent
impl Debug for ProxyEvent
source§impl<'de> Deserialize<'de> for ProxyEvent
impl<'de> Deserialize<'de> for ProxyEvent
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 From<ProxyEvent> for Event
impl From<ProxyEvent> for Event
source§fn from(e: ProxyEvent) -> Self
fn from(e: ProxyEvent) -> Self
Converts to this type from the input type.