pub struct MulticastConfig {
pub parallel: bool,
pub parallel_limit: Option<usize>,
pub stop_on_exception: bool,
pub timeout: Option<Duration>,
pub aggregation: MulticastStrategy,
}Fields§
§parallel: bool§parallel_limit: Option<usize>§stop_on_exception: bool§timeout: Option<Duration>§aggregation: MulticastStrategyImplementations§
Source§impl MulticastConfig
impl MulticastConfig
pub fn new() -> Self
pub fn parallel(self, parallel: bool) -> Self
pub fn parallel_limit(self, limit: usize) -> Self
pub fn stop_on_exception(self, stop: bool) -> Self
pub fn timeout(self, duration: Duration) -> Self
pub fn aggregation(self, strategy: MulticastStrategy) -> Self
Trait Implementations§
Source§impl Clone for MulticastConfig
impl Clone for MulticastConfig
Source§fn clone(&self) -> MulticastConfig
fn clone(&self) -> MulticastConfig
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 moreAuto Trait Implementations§
impl Freeze for MulticastConfig
impl !RefUnwindSafe for MulticastConfig
impl Send for MulticastConfig
impl Sync for MulticastConfig
impl Unpin for MulticastConfig
impl UnsafeUnpin for MulticastConfig
impl !UnwindSafe for MulticastConfig
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