pub struct SaturatorConfig {
pub drain_on_shutdown: bool,
}Expand description
Configuration for creating a saturator.
Fields§
§drain_on_shutdown: boolWhether to process remaining items on shutdown.
Trait Implementations§
Source§impl Clone for SaturatorConfig
impl Clone for SaturatorConfig
Source§fn clone(&self) -> SaturatorConfig
fn clone(&self) -> SaturatorConfig
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 SaturatorConfig
impl Debug for SaturatorConfig
Auto Trait Implementations§
impl Freeze for SaturatorConfig
impl RefUnwindSafe for SaturatorConfig
impl Send for SaturatorConfig
impl Sync for SaturatorConfig
impl Unpin for SaturatorConfig
impl UnsafeUnpin for SaturatorConfig
impl UnwindSafe for SaturatorConfig
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