pub struct EventQueue { /* private fields */ }Expand description
Async mpsc-based ordered event queue.
Inputs are processed strictly in the order they arrive.
Implementations§
Source§impl EventQueue
impl EventQueue
Sourcepub fn new() -> (Self, EventQueueHandle)
pub fn new() -> (Self, EventQueueHandle)
Create a new event queue, returning both the queue (consumer) and a cloneable handle (producer).
Auto Trait Implementations§
impl Freeze for EventQueue
impl RefUnwindSafe for EventQueue
impl Send for EventQueue
impl Sync for EventQueue
impl Unpin for EventQueue
impl UnsafeUnpin for EventQueue
impl UnwindSafe for EventQueue
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