pub trait IRunLoopTrait {
    // Required methods
    unsafe fn registerEventHandler(
        &self,
        handler: *mut IEventHandler,
        fd: FileDescriptor
    ) -> tresult;
    unsafe fn unregisterEventHandler(
        &self,
        handler: *mut IEventHandler
    ) -> tresult;
    unsafe fn registerTimer(
        &self,
        handler: *mut ITimerHandler,
        milliseconds: TimerInterval
    ) -> tresult;
    unsafe fn unregisterTimer(&self, handler: *mut ITimerHandler) -> tresult;
}

Required Methods§

source

unsafe fn registerEventHandler( &self, handler: *mut IEventHandler, fd: FileDescriptor ) -> tresult

source

unsafe fn unregisterEventHandler(&self, handler: *mut IEventHandler) -> tresult

source

unsafe fn registerTimer( &self, handler: *mut ITimerHandler, milliseconds: TimerInterval ) -> tresult

source

unsafe fn unregisterTimer(&self, handler: *mut ITimerHandler) -> tresult

Implementors§