#[repr(C)]pub struct UA_PubSub_CallbackLifecycle {
pub addCustomCallback: Option<unsafe extern "C" fn(server: *mut UA_Server, identifier: UA_NodeId, callback: UA_ServerCallback, data: *mut c_void, interval_ms: UA_Double, baseTime: *mut UA_DateTime, timerPolicy: UA_TimerPolicy, callbackId: *mut UA_UInt64) -> UA_StatusCode>,
pub changeCustomCallback: Option<unsafe extern "C" fn(server: *mut UA_Server, identifier: UA_NodeId, callbackId: UA_UInt64, interval_ms: UA_Double, baseTime: *mut UA_DateTime, timerPolicy: UA_TimerPolicy) -> UA_StatusCode>,
pub removeCustomCallback: Option<unsafe extern "C" fn(server: *mut UA_Server, identifier: UA_NodeId, callbackId: UA_UInt64)>,
}Fields§
§addCustomCallback: Option<unsafe extern "C" fn(server: *mut UA_Server, identifier: UA_NodeId, callback: UA_ServerCallback, data: *mut c_void, interval_ms: UA_Double, baseTime: *mut UA_DateTime, timerPolicy: UA_TimerPolicy, callbackId: *mut UA_UInt64) -> UA_StatusCode>§changeCustomCallback: Option<unsafe extern "C" fn(server: *mut UA_Server, identifier: UA_NodeId, callbackId: UA_UInt64, interval_ms: UA_Double, baseTime: *mut UA_DateTime, timerPolicy: UA_TimerPolicy) -> UA_StatusCode>§removeCustomCallback: Option<unsafe extern "C" fn(server: *mut UA_Server, identifier: UA_NodeId, callbackId: UA_UInt64)>Trait Implementations§
Source§impl Debug for UA_PubSub_CallbackLifecycle
impl Debug for UA_PubSub_CallbackLifecycle
Source§impl Default for UA_PubSub_CallbackLifecycle
impl Default for UA_PubSub_CallbackLifecycle
Source§fn default() -> UA_PubSub_CallbackLifecycle
fn default() -> UA_PubSub_CallbackLifecycle
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UA_PubSub_CallbackLifecycle
impl RefUnwindSafe for UA_PubSub_CallbackLifecycle
impl Send for UA_PubSub_CallbackLifecycle
impl Sync for UA_PubSub_CallbackLifecycle
impl Unpin for UA_PubSub_CallbackLifecycle
impl UnwindSafe for UA_PubSub_CallbackLifecycle
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