#[non_exhaustive]pub struct Resync {
pub round: u64,
pub topics: Vec<String>,
pub reasons: Vec<String>,
pub committed: Vec<StreamPosition>,
}Expand description
Topics waiting for the application to bring its state of them up to date.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.round: u64What to give Client::resynced once the
application’s state of the topics is up to date.
topics: Vec<String>§reasons: Vec<String>Why, for each topic in order: cold_start, reconnected,
requested, overflow, or the reason of the gap.
committed: Vec<StreamPosition>Where the consumer stands in each stream of the topics: what it committed it applied.
Trait Implementations§
impl Eq for Resync
impl StructuralPartialEq for Resync
Auto Trait Implementations§
impl Forget for Resync
impl Freeze for Resync
impl Move for Resync
impl RefUnwindSafe for Resync
impl Send for Resync
impl Sync for Resync
impl Unpin for Resync
impl UnsafeUnpin for Resync
impl UnwindSafe for Resync
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more