pub struct InMemoryTransport { /* private fields */ }Expand description
In-memory transport for local communication
Implementations§
Source§impl InMemoryTransport
impl InMemoryTransport
Sourcepub fn new() -> InMemoryTransport
pub fn new() -> InMemoryTransport
Create an empty in-memory transport with no registered channels.
Trait Implementations§
Source§impl Default for InMemoryTransport
impl Default for InMemoryTransport
Source§fn default() -> InMemoryTransport
fn default() -> InMemoryTransport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InMemoryTransport
impl RefUnwindSafe for InMemoryTransport
impl Send for InMemoryTransport
impl Sync for InMemoryTransport
impl Unpin for InMemoryTransport
impl UnsafeUnpin for InMemoryTransport
impl UnwindSafe for InMemoryTransport
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