pub struct PipelineSection {
pub name: String,
pub threads: Option<usize>,
pub io_threads: usize,
pub pinning: PinningMode,
}Expand description
pipeline: — identity and thread budget.
Fields§
§name: StringPipeline name; the pipeline label on every metric.
threads: Option<usize>Pinned pipeline thread count. None derives from
available_parallelism minus the I/O reserve at startup.
io_threads: usizeWorker threads for the I/O runtime (sink workers, checkpointer, admin server).
pinning: PinningModeCore-pinning mode for pipeline threads.
Trait Implementations§
Source§impl Debug for PipelineSection
impl Debug for PipelineSection
Source§impl<'de> Deserialize<'de> for PipelineSection
impl<'de> Deserialize<'de> for PipelineSection
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PipelineSection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PipelineSection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PipelineSection
impl PartialEq for PipelineSection
Source§fn eq(&self, other: &PipelineSection) -> bool
fn eq(&self, other: &PipelineSection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PipelineSection
Auto Trait Implementations§
impl Freeze for PipelineSection
impl RefUnwindSafe for PipelineSection
impl Send for PipelineSection
impl Sync for PipelineSection
impl Unpin for PipelineSection
impl UnsafeUnpin for PipelineSection
impl UnwindSafe for PipelineSection
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moreSource§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