[−][src]Struct tempest::topology::DefaultSource
Trait Implementations
impl Source for DefaultSource
[src]
fn name(&self) -> &'static str
[src]
fn healthy(&mut self) -> SourceResult<()>
[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
impl Send for DefaultSource
impl Unpin for DefaultSource
impl Sync for DefaultSource
impl UnwindSafe for DefaultSource
impl RefUnwindSafe for DefaultSource
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
ⓘImportant traits for &'_ mut Wfn borrow_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'_ mut W
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,