Struct wayland_client::ReadEventsGuard
source · pub struct ReadEventsGuard { /* private fields */ }
Expand description
A guard over a read intention.
See EventQueue::prepare_read()
for details about its use.
Implementations§
source§impl ReadEventsGuard
impl ReadEventsGuard
sourcepub fn read_events(self) -> Result<()>
pub fn read_events(self) -> Result<()>
Read events
Reads events from the server socket. If other ReadEventsGuard
exists, will block
until they are all consumed or destroyed.
Trait Implementations§
source§impl Debug for ReadEventsGuard
impl Debug for ReadEventsGuard
Auto Trait Implementations§
impl !RefUnwindSafe for ReadEventsGuard
impl !Send for ReadEventsGuard
impl !Sync for ReadEventsGuard
impl Unpin for ReadEventsGuard
impl !UnwindSafe for ReadEventsGuard
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