Struct mesa3d_util::WaitContext
source · pub struct WaitContext {
epoll_ctx: OwnedFd,
}
Fields§
§epoll_ctx: OwnedFd
Implementations§
source§impl WaitContext
impl WaitContext
pub fn new() -> MesaResult<WaitContext>
pub fn add( &mut self, connection_id: u64, descriptor: &OwnedDescriptor, ) -> MesaResult<()>
pub fn wait(&mut self, timeout: WaitTimeout) -> MesaResult<Vec<WaitEvent>>
pub fn delete(&mut self, descriptor: &OwnedDescriptor) -> MesaResult<()>
Auto Trait Implementations§
impl Freeze for WaitContext
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