Struct rutabaga_gfx::rutabaga_os::sys::linux::wait_context::WaitContext
source · pub struct WaitContext {
epoll_ctx: Epoll,
}
Fields§
§epoll_ctx: Epoll
Implementations§
source§impl WaitContext
impl WaitContext
pub fn new() -> RutabagaResult<WaitContext>
pub fn add( &mut self, connection_id: u64, descriptor: &OwnedDescriptor ) -> RutabagaResult<()>
pub fn wait(&mut self, timeout: WaitTimeout) -> RutabagaResult<Vec<WaitEvent>>
pub fn delete(&mut self, descriptor: &OwnedDescriptor) -> RutabagaResult<()>
Auto Trait Implementations§
impl RefUnwindSafe for WaitContext
impl Send for WaitContext
impl Sync for WaitContext
impl Unpin for WaitContext
impl UnwindSafe for WaitContext
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