pub struct AckSubOptions { /* private fields */ }Expand description
Configuration options for creating an acknowledgment-based subscriber.
This struct provides a builder pattern for configuring NATS JetStream consumers with pull-based message consumption and automatic acknowledgment options.
Implementations§
Source§impl AckSubOptions
impl AckSubOptions
Sourcepub fn durable_name(self, durable_name: impl Into<String>) -> Self
pub fn durable_name(self, durable_name: impl Into<String>) -> Self
Sourcepub fn stream_config(self, stream_cfg: StreamConfig) -> Self
pub fn stream_config(self, stream_cfg: StreamConfig) -> Self
Sourcepub fn pull_config(self, pull_cfg: PullConfig) -> Self
pub fn pull_config(self, pull_cfg: PullConfig) -> Self
Trait Implementations§
Source§impl Debug for AckSubOptions
impl Debug for AckSubOptions
Source§impl SubOptTrait for AckSubOptions
impl SubOptTrait for AckSubOptions
fn get_auto_ack(&self) -> bool
fn get_format(&self) -> Format
Auto Trait Implementations§
impl Freeze for AckSubOptions
impl RefUnwindSafe for AckSubOptions
impl Send for AckSubOptions
impl Sync for AckSubOptions
impl Unpin for AckSubOptions
impl UnsafeUnpin for AckSubOptions
impl UnwindSafe for AckSubOptions
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