pub struct EventChannelConfig {
pub max_handlers: usize,
pub max_async_queue_size: usize,
pub enable_batching: bool,
pub max_batch_size: usize,
pub enable_logging: bool,
}Expand description
Event channel configuration
Fields§
§max_handlers: usizeMaximum number of handlers
max_async_queue_size: usizeMaximum size of async event queue
enable_batching: boolWhether to enable event batching
max_batch_size: usizeMaximum batch size for event processing
enable_logging: boolWhether to log events for debugging
Trait Implementations§
Source§impl Clone for EventChannelConfig
impl Clone for EventChannelConfig
Source§fn clone(&self) -> EventChannelConfig
fn clone(&self) -> EventChannelConfig
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 EventChannelConfig
impl Debug for EventChannelConfig
Auto Trait Implementations§
impl Freeze for EventChannelConfig
impl RefUnwindSafe for EventChannelConfig
impl Send for EventChannelConfig
impl Sync for EventChannelConfig
impl Unpin for EventChannelConfig
impl UnwindSafe for EventChannelConfig
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