#[repr(C)]pub struct UA_EventSource {
pub next: *mut UA_EventSource,
pub eventSourceType: UA_EventSourceType,
pub name: UA_String,
pub eventLoop: *mut UA_EventLoop,
pub params: UA_KeyValueMap,
pub state: UA_EventSourceState,
pub start: Option<unsafe extern "C" fn(es: *mut UA_EventSource) -> UA_StatusCode>,
pub stop: Option<unsafe extern "C" fn(es: *mut UA_EventSource)>,
pub free: Option<unsafe extern "C" fn(es: *mut UA_EventSource) -> UA_StatusCode>,
}Fields§
§next: *mut UA_EventSource§eventSourceType: UA_EventSourceType§name: UA_String§eventLoop: *mut UA_EventLoop§params: UA_KeyValueMap§state: UA_EventSourceState§start: Option<unsafe extern "C" fn(es: *mut UA_EventSource) -> UA_StatusCode>§stop: Option<unsafe extern "C" fn(es: *mut UA_EventSource)>§free: Option<unsafe extern "C" fn(es: *mut UA_EventSource) -> UA_StatusCode>Trait Implementations§
Source§impl Clone for UA_EventSource
impl Clone for UA_EventSource
Source§fn clone(&self) -> UA_EventSource
fn clone(&self) -> UA_EventSource
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_EventSource
impl Debug for UA_EventSource
impl Copy for UA_EventSource
Auto Trait Implementations§
impl Freeze for UA_EventSource
impl RefUnwindSafe for UA_EventSource
impl !Send for UA_EventSource
impl !Sync for UA_EventSource
impl Unpin for UA_EventSource
impl UnwindSafe for UA_EventSource
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