Struct rust_corosync::cfg::Callbacks
source · [−]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 Send for Callbacks
impl Sync for Callbacks
impl Unpin for Callbacks
impl UnwindSafe for Callbacks
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more