pub struct PacketPipelineConfig {
pub output_concurrency: Option<usize>,
pub input_concurrency: Option<usize>,
pub ack_config: AcknowledgementPipelineConfig,
}Expand description
Overall configuration of the input/output packet processing pipeline.
Fields§
§output_concurrency: Option<usize>Maximum concurrency when processing outgoing packets.
None or Some(0) both fall back to the default (available parallelism * 8).
input_concurrency: Option<usize>Maximum concurrency when processing incoming packets.
None or Some(0) both fall back to the default (available parallelism * 8).
ack_config: AcknowledgementPipelineConfigConfiguration of the packet acknowledgement processing
Trait Implementations§
Source§impl Clone for PacketPipelineConfig
impl Clone for PacketPipelineConfig
Source§fn clone(&self) -> PacketPipelineConfig
fn clone(&self) -> PacketPipelineConfig
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 PacketPipelineConfig
impl Debug for PacketPipelineConfig
Source§impl Default for PacketPipelineConfig
impl Default for PacketPipelineConfig
Source§fn default() -> PacketPipelineConfig
fn default() -> PacketPipelineConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PacketPipelineConfig
impl<'de> Deserialize<'de> for PacketPipelineConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PacketPipelineConfig
impl PartialEq for PacketPipelineConfig
Source§impl Serialize for PacketPipelineConfig
impl Serialize for PacketPipelineConfig
Source§impl Validate for PacketPipelineConfig
impl Validate for PacketPipelineConfig
Source§impl<'v_a> ValidateArgs<'v_a> for PacketPipelineConfig
impl<'v_a> ValidateArgs<'v_a> for PacketPipelineConfig
impl Copy for PacketPipelineConfig
impl StructuralPartialEq for PacketPipelineConfig
Auto Trait Implementations§
impl Freeze for PacketPipelineConfig
impl RefUnwindSafe for PacketPipelineConfig
impl Send for PacketPipelineConfig
impl Sync for PacketPipelineConfig
impl Unpin for PacketPipelineConfig
impl UnwindSafe for PacketPipelineConfig
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more