pub struct WireTapConfig {
pub max_concurrent: Option<usize>,
}Expand description
Configuration for WireTapService.
Fields§
§max_concurrent: Option<usize>Maximum number of concurrent tap tasks. None means unlimited (backward-compatible).
Implementations§
Trait Implementations§
Source§impl Clone for WireTapConfig
impl Clone for WireTapConfig
Source§fn clone(&self) -> WireTapConfig
fn clone(&self) -> WireTapConfig
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 Default for WireTapConfig
impl Default for WireTapConfig
Source§fn default() -> WireTapConfig
fn default() -> WireTapConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WireTapConfig
impl RefUnwindSafe for WireTapConfig
impl Send for WireTapConfig
impl Sync for WireTapConfig
impl Unpin for WireTapConfig
impl UnsafeUnpin for WireTapConfig
impl UnwindSafe for WireTapConfig
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