pub enum ConfigEvent {
SetCluster(ClusterConfig),
SetMaxFlows(usize),
SetMaxRxDatagramSize(usize),
Drain,
}Expand description
Control-plane events the shell feeds the manager via
ManagerInput::Config. Additive; an unknown event must never panic.
Variants§
SetCluster(ClusterConfig)
Replace the listener’s cluster routing + per-cluster knobs. Applies to new flows; existing flows keep their captured config (stable affinity).
SetMaxFlows(usize)
Update the flow-table cap. Shrinking does not evict existing flows; it only sheds future ones.
SetMaxRxDatagramSize(usize)
Update the maximum accepted rx datagram size.
Drain
Begin draining: admit no new flows; let existing ones reach teardown.
Trait Implementations§
Source§impl Clone for ConfigEvent
impl Clone for ConfigEvent
Source§fn clone(&self) -> ConfigEvent
fn clone(&self) -> ConfigEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConfigEvent
impl Debug for ConfigEvent
impl Eq for ConfigEvent
Source§impl PartialEq for ConfigEvent
impl PartialEq for ConfigEvent
Source§fn eq(&self, other: &ConfigEvent) -> bool
fn eq(&self, other: &ConfigEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfigEvent
Auto Trait Implementations§
impl Freeze for ConfigEvent
impl RefUnwindSafe for ConfigEvent
impl Send for ConfigEvent
impl Sync for ConfigEvent
impl Unpin for ConfigEvent
impl UnsafeUnpin for ConfigEvent
impl UnwindSafe for ConfigEvent
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.