pub struct EventReader { /* private fields */ }
Implementations§
Source§impl EventReader
impl EventReader
pub fn is_connected(&self) -> bool
pub fn read_one(&mut self) -> Result<Option<Event>, ReadError>
pub fn read_until_now<'a>(&'a mut self) -> Result<ReadUntilThen<'a>, ReadError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventReader
impl !RefUnwindSafe for EventReader
impl Send for EventReader
impl Sync for EventReader
impl Unpin for EventReader
impl !UnwindSafe for EventReader
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