pub struct DirectComponent { /* private fields */ }Expand description
The Direct component provides in-memory synchronous communication between routes.
URI format: direct:name
A producer sending to direct:foo will block until the consumer on
direct:foo has finished processing the exchange.
Implementations§
Trait Implementations§
Source§impl Component for DirectComponent
impl Component for DirectComponent
Auto Trait Implementations§
impl Freeze for DirectComponent
impl !RefUnwindSafe for DirectComponent
impl Send for DirectComponent
impl Sync for DirectComponent
impl Unpin for DirectComponent
impl UnsafeUnpin for DirectComponent
impl !UnwindSafe for DirectComponent
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