pub struct ConsumerCursor {
pub command: AcquireCommand,
pub assignment: Option<AttemptRef>,
}Expand description
Compact replay state: only the latest completed poll per consumer is retained.
Fields§
§command: AcquireCommand§assignment: Option<AttemptRef>Trait Implementations§
Source§impl Clone for ConsumerCursor
impl Clone for ConsumerCursor
Source§impl Debug for ConsumerCursor
impl Debug for ConsumerCursor
Source§impl<'de> Deserialize<'de> for ConsumerCursor
impl<'de> Deserialize<'de> for ConsumerCursor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ConsumerCursor
Source§impl PartialEq for ConsumerCursor
impl PartialEq for ConsumerCursor
Source§impl Serialize for ConsumerCursor
impl Serialize for ConsumerCursor
impl StructuralPartialEq for ConsumerCursor
Auto Trait Implementations§
impl Freeze for ConsumerCursor
impl RefUnwindSafe for ConsumerCursor
impl Send for ConsumerCursor
impl Sync for ConsumerCursor
impl Unpin for ConsumerCursor
impl UnsafeUnpin for ConsumerCursor
impl UnwindSafe for ConsumerCursor
Blanket Implementations§
impl<T> ArtifactLease for T
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