[][src]Struct tempest::topology::TopologyBuilder

pub struct TopologyBuilder<SB: SourceBuilder> {
    pub options: TopologyOptions,
    pub pipeline: Pipeline,
    pub source_builder: SB,
}

Fields

options: TopologyOptionspipeline: Pipelinesource_builder: SB

Methods

impl<SB> TopologyBuilder<SB> where
    SB: SourceBuilder + Default,
    <SB as SourceBuilder>::Source: Source + 'static + Default
[src]

pub fn name(self, name: &'static str) -> Self[src]

pub fn failure_policy(self, policy: TopologyFailurePolicy) -> Self[src]

pub fn msg_timeout(self, ms: usize) -> Self[src]

pub fn graceful_shutdown(self, ms: u64) -> Self[src]

pub fn metric_flush_interval(self, ms: u64) -> Self[src]

pub fn metric_target(self, target: MetricTarget) -> Self[src]

pub fn pipeline(self, pipe: Pipeline) -> Self[src]

pub fn source(self, sb: SB) -> Self[src]

pub fn source_actor(&self) -> SourceActor[src]

pub fn topology_actor(&self) -> TopologyActor[src]

pub fn pipeline_actor(&self) -> PipelineActor[src]

Trait Implementations

impl<SB: Default + SourceBuilder> Default for TopologyBuilder<SB>[src]

Auto Trait Implementations

impl<SB> !Send for TopologyBuilder<SB>

impl<SB> Unpin for TopologyBuilder<SB> where
    SB: Unpin

impl<SB> !Sync for TopologyBuilder<SB>

impl<SB> !UnwindSafe for TopologyBuilder<SB>

impl<SB> !RefUnwindSafe for TopologyBuilder<SB>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,