pub struct ConsumerSequence;Expand description
Selector for the consumer sequence number; see CONSUMER_SEQUENCE.
Trait Implementations§
Source§impl Clone for ConsumerSequence
impl Clone for ConsumerSequence
Source§fn clone(&self) -> ConsumerSequence
fn clone(&self) -> ConsumerSequence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ContextField for ConsumerSequence
impl ContextField for ConsumerSequence
Source§type Context = JetStreamContext
type Context = JetStreamContext
The per-delivery context type this key reads from.
Source§fn read(self, cx: &JetStreamContext) -> Option<u64>
fn read(self, cx: &JetStreamContext) -> Option<u64>
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 ConsumerSequence
Source§impl Debug for ConsumerSequence
impl Debug for ConsumerSequence
Source§impl Default for ConsumerSequence
impl Default for ConsumerSequence
Source§fn default() -> ConsumerSequence
fn default() -> ConsumerSequence
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConsumerSequence
impl RefUnwindSafe for ConsumerSequence
impl Send for ConsumerSequence
impl Sync for ConsumerSequence
impl Unpin for ConsumerSequence
impl UnsafeUnpin for ConsumerSequence
impl UnwindSafe for ConsumerSequence
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