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
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
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Eventimpl UnwindSafe for EventBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self