pub struct StreamSequence;Expand description
Selector for the stream sequence number; see STREAM_SEQUENCE.
Trait Implementations§
Source§impl Clone for StreamSequence
impl Clone for StreamSequence
Source§fn clone(&self) -> StreamSequence
fn clone(&self) -> StreamSequence
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 StreamSequence
impl ContextField for StreamSequence
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 StreamSequence
Source§impl Debug for StreamSequence
impl Debug for StreamSequence
Source§impl Default for StreamSequence
impl Default for StreamSequence
Source§fn default() -> StreamSequence
fn default() -> StreamSequence
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StreamSequence
impl RefUnwindSafe for StreamSequence
impl Send for StreamSequence
impl Sync for StreamSequence
impl Unpin for StreamSequence
impl UnsafeUnpin for StreamSequence
impl UnwindSafe for StreamSequence
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