Struct rust_corosync::cfg::Callbacks [−][src]
pub struct Callbacks {
pub corosync_cfg_shutdown_callback_fn: Option<fn(handle: &Handle, flags: u32)>,
}Expand description
Callback from track_start. Will be called if another process requests to shut down corosync. reply_to_shutdown should be called with a ShutdownReply of either Yes or No.
Fields
corosync_cfg_shutdown_callback_fn: Option<fn(handle: &Handle, flags: u32)>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Callbacks
impl UnwindSafe for Callbacks
Blanket Implementations
Mutably borrows from an owned value. Read more