pub struct LanedEventProcessor { /* private fields */ }Expand description
Event processor with precision lane awareness
Implementations§
Source§impl LanedEventProcessor
impl LanedEventProcessor
Sourcepub fn new(config: LaneConfig) -> Self
pub fn new(config: LaneConfig) -> Self
Create a new event processor
Sourcepub fn process_event(&mut self, event: &Event) -> ProcessResult
pub fn process_event(&mut self, event: &Event) -> ProcessResult
Process an event through the appropriate precision lane
Sourcepub fn current_lane(&self) -> PrecisionLane
pub fn current_lane(&self) -> PrecisionLane
Get current lane
Auto Trait Implementations§
impl Freeze for LanedEventProcessor
impl RefUnwindSafe for LanedEventProcessor
impl Send for LanedEventProcessor
impl Sync for LanedEventProcessor
impl Unpin for LanedEventProcessor
impl UnwindSafe for LanedEventProcessor
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