Struct rdkafka::consumer::DefaultConsumerContext [−][src]
An inert ConsumerContext
that can be used when no customizations are
needed.
Trait Implementations
impl ClientContext for DefaultConsumerContext
[src]
fn log(&self, level: RDKafkaLogLevel, fac: &str, log_message: &str)
[src]
fn stats(&self, statistics: Statistics)
[src]
fn error(&self, error: KafkaError, reason: &str)
[src]
impl Clone for DefaultConsumerContext
[src]
fn clone(&self) -> DefaultConsumerContext
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl ConsumerContext for DefaultConsumerContext
[src]
fn rebalance(
&self,
native_client: &NativeClient,
err: RDKafkaRespErr,
tpl: &mut TopicPartitionList
)
[src]
&self,
native_client: &NativeClient,
err: RDKafkaRespErr,
tpl: &mut TopicPartitionList
)
fn pre_rebalance<'a>(&self, rebalance: &Rebalance<'a>)
[src]
fn post_rebalance<'a>(&self, rebalance: &Rebalance<'a>)
[src]
fn commit_callback(&self, result: KafkaResult<()>, offsets: &TopicPartitionList)
[src]
fn main_queue_min_poll_interval(&self) -> Timeout
[src]
fn message_queue_nonempty_callback(&self)
[src]
impl Default for DefaultConsumerContext
[src]
fn default() -> DefaultConsumerContext
[src]
Auto Trait Implementations
impl RefUnwindSafe for DefaultConsumerContext
impl Send for DefaultConsumerContext
impl Sync for DefaultConsumerContext
impl Unpin for DefaultConsumerContext
impl UnwindSafe for DefaultConsumerContext
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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,