Enum sozu_command_lib::command::Event [−][src]
pub enum Event { BackendDown(String, SocketAddr), BackendUp(String, SocketAddr), NoAvailableBackends(String), RemovedBackendHasNoConnections(String, SocketAddr), }
Variants
BackendDown(String, SocketAddr)
BackendUp(String, SocketAddr)
NoAvailableBackends(String)
RemovedBackendHasNoConnections(String, SocketAddr)
indicates a backend that was removed from configuration has no lingering connections so it can be safely stopped
Trait Implementations
impl<'de> Deserialize<'de> for Event
[src]
impl<'de> Deserialize<'de> for Event
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src][−]
__D: Deserializer<'de>,
impl From<ProxyEvent> for Event
[src]
impl From<ProxyEvent> for Event
[src]fn from(e: ProxyEvent) -> Self
[src][−]
impl StructuralEq for Event
[src]
impl StructuralEq for Event
[src]impl StructuralPartialEq for Event
[src]
impl StructuralPartialEq for Event
[src]Auto Trait Implementations
impl RefUnwindSafe for Event
impl RefUnwindSafe for Event
impl UnwindSafe for Event
impl UnwindSafe for Event
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self