Struct rust_corosync::cmap::NotifyCallback [−][src]
pub struct NotifyCallback {
pub notify_fn: Option<fn(handle: &Handle, track_handle: &TrackHandle, event: TrackType, key_name: &str, new_value: &Data, old_value: &Data, user_data: u64)>,
}Expand description
Callback function called every time a tracker reports a change in a tracked value
Fields
notify_fn: Option<fn(handle: &Handle, track_handle: &TrackHandle, event: TrackType, key_name: &str, new_value: &Data, old_value: &Data, user_data: u64)>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NotifyCallbackimpl Send for NotifyCallbackimpl Sync for NotifyCallbackimpl Unpin for NotifyCallbackimpl UnwindSafe for NotifyCallbackBlanket Implementations
Mutably borrows from an owned value. Read more