pub struct RequestLane {
pub producer: Box<dyn Producer<Request>>,
pub consumer: Box<dyn Consumer<Request>>,
}Expand description
The two ends of the request lane.
Fields§
§producer: Box<dyn Producer<Request>>Where a sink engine publishes its requests.
consumer: Box<dyn Consumer<Request>>Where the ingest engine receives them.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RequestLane
impl !Sync for RequestLane
impl !UnwindSafe for RequestLane
impl Forget for RequestLane
impl Freeze for RequestLane
impl Send for RequestLane
impl Unpin for RequestLane
impl UnsafeUnpin for RequestLane
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