pub struct InMemoryConfig { /* private fields */ }Implementations§
Source§impl InMemoryConfig
impl InMemoryConfig
Sourcepub fn with_deduplication_window(self, window: Duration) -> Self
pub fn with_deduplication_window(self, window: Duration) -> Self
Sets the message-id deduplication window for this bus’s single stream. Use the production stream’s window to reproduce its retry behavior.
Sourcepub fn with_stream_ack_wait(self, ack_wait: Duration) -> Self
pub fn with_stream_ack_wait(self, ack_wait: Duration) -> Self
How long a stream delivery may stay unsettled before another cursor on the same durable receives it again; applies to every durable.
Sourcepub fn with_durable(self, owner: DurableOwner<'_>) -> Self
pub fn with_durable(self, owner: DurableOwner<'_>) -> Self
Creates the owner’s durable, as ck-bus would before any cursor binds.
§Panics
When the owner’s id is not a valid agent or module id token: the fixture would otherwise hold a durable no cursor can bind.
pub fn deny_subject(self, subject: impl Into<String>) -> Self
pub fn with_work_queue(self, config: WorkQueueConfig) -> Self
Trait Implementations§
Source§impl Clone for InMemoryConfig
impl Clone for InMemoryConfig
Source§impl Debug for InMemoryConfig
impl Debug for InMemoryConfig
Auto Trait Implementations§
impl Forget for InMemoryConfig
impl Freeze for InMemoryConfig
impl RefUnwindSafe for InMemoryConfig
impl Send for InMemoryConfig
impl Sync for InMemoryConfig
impl Unpin for InMemoryConfig
impl UnsafeUnpin for InMemoryConfig
impl UnwindSafe for InMemoryConfig
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