pub struct Consumer;Expand description
Selector for the consumer name; see CONSUMER.
Trait Implementations§
Source§impl ContextField for Consumer
impl ContextField for Consumer
Source§type Context = JetStreamContext
type Context = JetStreamContext
The per-delivery context type this key reads from.
Source§fn read(self, cx: &JetStreamContext) -> Option<String>
fn read(self, cx: &JetStreamContext) -> Option<String>
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 Consumer
Auto Trait Implementations§
impl Freeze for Consumer
impl RefUnwindSafe for Consumer
impl Send for Consumer
impl Sync for Consumer
impl Unpin for Consumer
impl UnsafeUnpin for Consumer
impl UnwindSafe for Consumer
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