Struct rust_corosync::votequorum::Callbacks [−][src]
pub struct Callbacks {
pub quorum_notification_fn: Option<fn(hande: &Handle, context: u64, quorate: bool, node_list: Vec<Node>)>,
pub nodelist_notification_fn: Option<fn(hande: &Handle, context: u64, ring_id: RingId, node_list: Vec<NodeId>)>,
pub expectedvotes_notification_fn: Option<fn(handle: &Handle, context: u64, expected_votes: u32)>,
}Expand description
Callbacks that can be called from votequorum, pass these in to initialize
Fields
quorum_notification_fn: Option<fn(hande: &Handle, context: u64, quorate: bool, node_list: Vec<Node>)>nodelist_notification_fn: Option<fn(hande: &Handle, context: u64, ring_id: RingId, node_list: Vec<NodeId>)>expectedvotes_notification_fn: Option<fn(handle: &Handle, context: u64, expected_votes: u32)>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Callbacks
impl UnwindSafe for Callbacks
Blanket Implementations
Mutably borrows from an owned value. Read more