pub struct InMemoryEndpoint { /* private fields */ }Expand description
An in-memory FIFO endpoint for quick testing.
Internally uses a VecDeque protected by a mutex (std::sync::Mutex or
tokio::sync::Mutex for async mode). No backpressure, size limits, or correlation
semantics are provided—this is intentionally minimal.
Implementations§
Trait Implementations§
Source§impl Clone for InMemoryEndpoint
impl Clone for InMemoryEndpoint
Source§fn clone(&self) -> InMemoryEndpoint
fn clone(&self) -> InMemoryEndpoint
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 Default for InMemoryEndpoint
impl Default for InMemoryEndpoint
Source§fn default() -> InMemoryEndpoint
fn default() -> InMemoryEndpoint
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InMemoryEndpoint
impl !RefUnwindSafe for InMemoryEndpoint
impl Send for InMemoryEndpoint
impl Sync for InMemoryEndpoint
impl Unpin for InMemoryEndpoint
impl !UnwindSafe for InMemoryEndpoint
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