pub struct Stream;Expand description
Selector for the stream name; see STREAM.
Trait Implementations§
Source§impl ContextField for Stream
impl ContextField for Stream
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 Stream
Auto Trait Implementations§
impl Freeze for Stream
impl RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnsafeUnpin for Stream
impl UnwindSafe for Stream
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