[−][src]Struct replicator::config::ConsumerTestContext
Fields
_n: i64
wakeups: Arc<AtomicUsize>
Trait Implementations
impl ClientContext for ConsumerTestContext
[src]
pub fn stats(&self, stats: Statistics)
[src]
pub fn log(&self, level: RDKafkaLogLevel, fac: &str, log_message: &str)
[src]
pub fn error(&self, error: KafkaError, reason: &str)
[src]
impl ConsumerContext for ConsumerTestContext
[src]
pub fn commit_callback(
&self,
result: KafkaResult<()>,
_offsets: &TopicPartitionList
)
[src]
&self,
result: KafkaResult<()>,
_offsets: &TopicPartitionList
)
pub fn message_queue_nonempty_callback(&self)
[src]
pub fn rebalance(
&self,
native_client: &NativeClient,
err: rd_kafka_resp_err_t,
tpl: &mut TopicPartitionList
)
[src]
&self,
native_client: &NativeClient,
err: rd_kafka_resp_err_t,
tpl: &mut TopicPartitionList
)
pub fn pre_rebalance(&self, rebalance: &Rebalance<'a>)
[src]
pub fn post_rebalance(&self, rebalance: &Rebalance<'a>)
[src]
pub fn main_queue_min_poll_interval(&self) -> Timeout
[src]
Auto Trait Implementations
impl RefUnwindSafe for ConsumerTestContext
impl Send for ConsumerTestContext
impl Sync for ConsumerTestContext
impl Unpin for ConsumerTestContext
impl UnwindSafe for ConsumerTestContext
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[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.
pub 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.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,