pub trait ConsumerGroup {
// Required method
fn group() -> String;
}
Expand description
Consumer Group trait, giving the group to use
Only one consumer within the same group will get an event
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.