#[repr(C)]pub struct UA_EventLoop {Show 20 fields
pub logger: *const UA_Logger,
pub params: *mut UA_KeyValueMap,
pub state: UA_EventLoopState,
pub start: Option<unsafe extern "C" fn(el: *mut UA_EventLoop) -> UA_StatusCode>,
pub stop: Option<unsafe extern "C" fn(el: *mut UA_EventLoop)>,
pub run: Option<unsafe extern "C" fn(el: *mut UA_EventLoop, timeout: UA_UInt32) -> UA_StatusCode>,
pub free: Option<unsafe extern "C" fn(el: *mut UA_EventLoop) -> UA_StatusCode>,
pub dateTime_now: Option<unsafe extern "C" fn(el: *mut UA_EventLoop) -> UA_DateTime>,
pub dateTime_nowMonotonic: Option<unsafe extern "C" fn(el: *mut UA_EventLoop) -> UA_DateTime>,
pub dateTime_localTimeUtcOffset: Option<unsafe extern "C" fn(el: *mut UA_EventLoop) -> UA_Int64>,
pub nextCyclicTime: Option<unsafe extern "C" fn(el: *mut UA_EventLoop) -> UA_DateTime>,
pub addCyclicCallback: Option<unsafe extern "C" fn(el: *mut UA_EventLoop, cb: UA_Callback, application: *mut c_void, data: *mut c_void, interval_ms: UA_Double, baseTime: *mut UA_DateTime, timerPolicy: UA_TimerPolicy, callbackId: *mut UA_UInt64) -> UA_StatusCode>,
pub modifyCyclicCallback: Option<unsafe extern "C" fn(el: *mut UA_EventLoop, callbackId: UA_UInt64, interval_ms: UA_Double, baseTime: *mut UA_DateTime, timerPolicy: UA_TimerPolicy) -> UA_StatusCode>,
pub removeCyclicCallback: Option<unsafe extern "C" fn(el: *mut UA_EventLoop, callbackId: UA_UInt64)>,
pub addTimedCallback: Option<unsafe extern "C" fn(el: *mut UA_EventLoop, cb: UA_Callback, application: *mut c_void, data: *mut c_void, date: UA_DateTime, callbackId: *mut UA_UInt64) -> UA_StatusCode>,
pub addDelayedCallback: Option<unsafe extern "C" fn(el: *mut UA_EventLoop, dc: *mut UA_DelayedCallback)>,
pub removeDelayedCallback: Option<unsafe extern "C" fn(el: *mut UA_EventLoop, dc: *mut UA_DelayedCallback)>,
pub eventSources: *mut UA_EventSource,
pub registerEventSource: Option<unsafe extern "C" fn(el: *mut UA_EventLoop, es: *mut UA_EventSource) -> UA_StatusCode>,
pub deregisterEventSource: Option<unsafe extern "C" fn(el: *mut UA_EventLoop, es: *mut UA_EventSource) -> UA_StatusCode>,
}Fields§
§logger: *const UA_Logger§params: *mut UA_KeyValueMap§state: UA_EventLoopState§start: Option<unsafe extern "C" fn(el: *mut UA_EventLoop) -> UA_StatusCode>§stop: Option<unsafe extern "C" fn(el: *mut UA_EventLoop)>§run: Option<unsafe extern "C" fn(el: *mut UA_EventLoop, timeout: UA_UInt32) -> UA_StatusCode>§free: Option<unsafe extern "C" fn(el: *mut UA_EventLoop) -> UA_StatusCode>§dateTime_now: Option<unsafe extern "C" fn(el: *mut UA_EventLoop) -> UA_DateTime>§dateTime_nowMonotonic: Option<unsafe extern "C" fn(el: *mut UA_EventLoop) -> UA_DateTime>§dateTime_localTimeUtcOffset: Option<unsafe extern "C" fn(el: *mut UA_EventLoop) -> UA_Int64>§nextCyclicTime: Option<unsafe extern "C" fn(el: *mut UA_EventLoop) -> UA_DateTime>§addCyclicCallback: Option<unsafe extern "C" fn(el: *mut UA_EventLoop, cb: UA_Callback, application: *mut c_void, data: *mut c_void, interval_ms: UA_Double, baseTime: *mut UA_DateTime, timerPolicy: UA_TimerPolicy, callbackId: *mut UA_UInt64) -> UA_StatusCode>§modifyCyclicCallback: Option<unsafe extern "C" fn(el: *mut UA_EventLoop, callbackId: UA_UInt64, interval_ms: UA_Double, baseTime: *mut UA_DateTime, timerPolicy: UA_TimerPolicy) -> UA_StatusCode>§removeCyclicCallback: Option<unsafe extern "C" fn(el: *mut UA_EventLoop, callbackId: UA_UInt64)>§addTimedCallback: Option<unsafe extern "C" fn(el: *mut UA_EventLoop, cb: UA_Callback, application: *mut c_void, data: *mut c_void, date: UA_DateTime, callbackId: *mut UA_UInt64) -> UA_StatusCode>§addDelayedCallback: Option<unsafe extern "C" fn(el: *mut UA_EventLoop, dc: *mut UA_DelayedCallback)>§removeDelayedCallback: Option<unsafe extern "C" fn(el: *mut UA_EventLoop, dc: *mut UA_DelayedCallback)>§eventSources: *mut UA_EventSource§registerEventSource: Option<unsafe extern "C" fn(el: *mut UA_EventLoop, es: *mut UA_EventSource) -> UA_StatusCode>§deregisterEventSource: Option<unsafe extern "C" fn(el: *mut UA_EventLoop, es: *mut UA_EventSource) -> UA_StatusCode>Trait Implementations§
Source§impl Clone for UA_EventLoop
impl Clone for UA_EventLoop
Source§fn clone(&self) -> UA_EventLoop
fn clone(&self) -> UA_EventLoop
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UA_EventLoop
impl Debug for UA_EventLoop
impl Copy for UA_EventLoop
Auto Trait Implementations§
impl Freeze for UA_EventLoop
impl RefUnwindSafe for UA_EventLoop
impl !Send for UA_EventLoop
impl !Sync for UA_EventLoop
impl Unpin for UA_EventLoop
impl UnwindSafe for UA_EventLoop
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