pub struct Lane {
pub producer: Box<dyn Producer<LaneItem>>,
pub consumer: Box<dyn Consumer<LaneItem>>,
}Expand description
The two ends of one sink’s lane.
Fields§
§producer: Box<dyn Producer<LaneItem>>Where the ingest engine publishes.
consumer: Box<dyn Consumer<LaneItem>>Where that sink’s engine receives.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Lane
impl !Sync for Lane
impl !UnwindSafe for Lane
impl Forget for Lane
impl Freeze for Lane
impl Move for Lane
impl Send for Lane
impl Unpin for Lane
impl UnsafeUnpin for Lane
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