Enum sozu_command_lib::command::Event
source · [−]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
sourceimpl<'de> Deserialize<'de> for Event
impl<'de> Deserialize<'de> for Event
sourcefn 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
sourceimpl From<ProxyEvent> for Event
impl From<ProxyEvent> for Event
sourcefn from(e: ProxyEvent) -> Self
fn from(e: ProxyEvent) -> Self
Converts to this type from the input type.
impl Eq for Event
impl StructuralEq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more