pub struct Source;Expand description
Reads the delivery’s source coordinates as one value, the form
EosPipeline::publish takes.
Trait Implementations§
Source§impl ContextField for Source
impl ContextField for Source
Source§type Context = KafkaContext
type Context = KafkaContext
The per-delivery context type this key reads from.
Source§type Value = SourceOffset
type Value = SourceOffset
The owned value the key yields.
Source§fn read(self, src: &KafkaContext) -> SourceOffset
fn read(self, src: &KafkaContext) -> SourceOffset
Reads this key’s field out of
src. Named apart from Field::get so a key
implementing both traits stays unambiguous to call.impl Copy for Source
impl Eq for Source
Source§impl Field<KafkaContext> for Source
impl Field<KafkaContext> for Source
Source§type Value<'a> = SourceOffset
type Value<'a> = SourceOffset
The value read through this key, borrowed from the source for
'a.Source§fn get(self, src: &KafkaContext) -> SourceOffset
fn get(self, src: &KafkaContext) -> SourceOffset
Reads this key’s field out of
src.impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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