[−][src]Struct tempest_source_mock::MockSourceBuilder
Methods
impl MockSourceBuilder
[src]
pub fn read_msg_count(self, count: usize) -> Self
[src]
pub fn poll_interval(self, ms: u64) -> Self
[src]
pub fn ack_policy(self, policy: SourceAckPolicy) -> Self
[src]
pub fn max_backoff(self, ms: u64) -> Self
[src]
pub fn prime(self, f: fn(mock: &mut MockSource)) -> Self
[src]
Trait Implementations
impl Default for MockSourceBuilder
[src]
fn default() -> MockSourceBuilder
[src]
impl SourceBuilder for MockSourceBuilder
[src]
type Source = MockSource
fn build(&self) -> Self::Source
[src]
fn parse_config_value(&mut self, _cfg: Value)
[src]
Given a Topology.toml for a [source.config] config::Value
override the options for the source. Read more
Auto Trait Implementations
impl Send for MockSourceBuilder
impl Unpin for MockSourceBuilder
impl Sync for MockSourceBuilder
impl UnwindSafe for MockSourceBuilder
impl RefUnwindSafe for MockSourceBuilder
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,
fn borrow_mut(&mut self) -> &mut T
[src]
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>,