pub struct InMemoryQueueWriter { /* private fields */ }Expand description
In-memory EventQueueWriter backed by an mpsc channel sender.
Enforces a maximum serialized event size to prevent OOM from oversized events written by executors, and a write timeout to prevent blocking indefinitely on slow clients (PR-1).
Trait Implementations§
Source§impl Clone for InMemoryQueueWriter
impl Clone for InMemoryQueueWriter
Source§fn clone(&self) -> InMemoryQueueWriter
fn clone(&self) -> InMemoryQueueWriter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InMemoryQueueWriter
impl Debug for InMemoryQueueWriter
Source§impl EventQueueWriter for InMemoryQueueWriter
impl EventQueueWriter for InMemoryQueueWriter
Auto Trait Implementations§
impl Freeze for InMemoryQueueWriter
impl RefUnwindSafe for InMemoryQueueWriter
impl Send for InMemoryQueueWriter
impl Sync for InMemoryQueueWriter
impl Unpin for InMemoryQueueWriter
impl UnsafeUnpin for InMemoryQueueWriter
impl UnwindSafe for InMemoryQueueWriter
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