[][src]Struct tempest::topology::DefaultSource

pub struct DefaultSource {}

Trait Implementations

impl Source for DefaultSource[src]

fn validate(&mut self) -> SourceResult<()>[src]

fn setup(&mut self) -> SourceResult<()>[src]

fn drain(&mut self) -> SourceResult<()>[src]

fn teardown(&mut self) -> SourceResult<()>[src]

fn connect(&mut self) -> SourceResult<()>[src]

fn poll(&mut self) -> SourcePollResult[src]

Poll for new message from the source

fn monitor(&mut self) -> SourceResult<()>[src]

fn ack(&mut self, _msg_id: MsgId) -> SourceResult<(i32, i32)>[src]

fn batch_ack(&mut self, msgs: Vec<MsgId>) -> SourceResult<(i32, i32)>[src]

fn max_backoff(&self) -> SourceResult<&u64>[src]

fn max_pending(&self) -> SourceResult<&SourcePollPending>[src]

fn poll_interval(&self) -> SourceResult<&SourceInterval>[src]

fn monitor_interval(&self) -> SourceResult<&SourceInterval>[src]

fn ack_policy(&self) -> SourceResult<&SourceAckPolicy>[src]

fn ack_interval(&self) -> SourceResult<&SourceInterval>[src]

Configures how often the source should check for new messages to ack

fn msg_error(&mut self, _msg: Msg)[src]

A message generated an error while being handled by the topology. Implement clean up code here. Read more

fn msg_timeout(&mut self, _msg: Msg)[src]

A message timed out while being handled by the topology. Implement clean up code here. Read more

fn flush_metrics(&mut self)[src]

Called to flush source.metrics

Auto Trait Implementations

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>,