Enum tower::discover::Change [−][src]
pub enum Change<K, V> {
Insert(K, V),
Remove(K),
}Expand description
A change in the service set.
Variants
Insert(K, V)
A new service identified by key K was identified.
Remove(K)
The service identified by key K disappeared.
Trait Implementations
Auto Trait Implementations
impl<K, V> RefUnwindSafe for Change<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> UnwindSafe for Change<K, V> where
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
