pub struct DispatcherConfig {
pub throughput: u32,
pub throughput_deadline: Option<Duration>,
}Expand description
Configuration knobs for any Dispatcher.
Dispatchers.cs / Dispatcher.cs config keys.
Fields§
§throughput: u32Maximum messages an actor cell may process before yielding.
throughput_deadline: Option<Duration>Time budget per scheduling slice; if exceeded the cell yields
even if it has not hit throughput.
throughput-deadline-time. None disables the deadline.
Trait Implementations§
Source§impl Clone for DispatcherConfig
impl Clone for DispatcherConfig
Source§fn clone(&self) -> DispatcherConfig
fn clone(&self) -> DispatcherConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 DispatcherConfig
impl Debug for DispatcherConfig
Source§impl Default for DispatcherConfig
impl Default for DispatcherConfig
Source§impl PartialEq for DispatcherConfig
impl PartialEq for DispatcherConfig
impl Eq for DispatcherConfig
impl StructuralPartialEq for DispatcherConfig
Auto Trait Implementations§
impl Freeze for DispatcherConfig
impl RefUnwindSafe for DispatcherConfig
impl Send for DispatcherConfig
impl Sync for DispatcherConfig
impl Unpin for DispatcherConfig
impl UnsafeUnpin for DispatcherConfig
impl UnwindSafe for DispatcherConfig
Blanket Implementations§
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.