Enum sozu_command_lib::proxy::ProxyEvent
source · [−]pub enum ProxyEvent {
BackendDown(String, SocketAddr),
BackendUp(String, SocketAddr),
NoAvailableBackends(String),
RemovedBackendHasNoConnections(String, SocketAddr),
}
Variants
BackendDown(String, SocketAddr)
BackendUp(String, SocketAddr)
NoAvailableBackends(String)
RemovedBackendHasNoConnections(String, SocketAddr)
Trait Implementations
sourceimpl Clone for ProxyEvent
impl Clone for ProxyEvent
sourcefn clone(&self) -> ProxyEvent
fn clone(&self) -> ProxyEvent
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ProxyEvent
impl Debug for ProxyEvent
sourceimpl<'de> Deserialize<'de> for ProxyEvent
impl<'de> Deserialize<'de> for ProxyEvent
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.
sourceimpl Hash for ProxyEvent
impl Hash for ProxyEvent
sourceimpl PartialEq<ProxyEvent> for ProxyEvent
impl PartialEq<ProxyEvent> for ProxyEvent
sourcefn eq(&self, other: &ProxyEvent) -> bool
fn eq(&self, other: &ProxyEvent) -> bool
sourceimpl Serialize for ProxyEvent
impl Serialize for ProxyEvent
impl Eq for ProxyEvent
impl StructuralEq for ProxyEvent
impl StructuralPartialEq for ProxyEvent
Auto Trait Implementations
impl RefUnwindSafe for ProxyEvent
impl Send for ProxyEvent
impl Sync for ProxyEvent
impl Unpin for ProxyEvent
impl UnwindSafe for ProxyEvent
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