Struct rust_corosync::cpg::Model1Data
source · pub struct Model1Data {
pub flags: Model1Flags,
pub deliver_fn: Option<fn(handle: &Handle, group_name: String, nodeid: NodeId, pid: u32, msg: &[u8], msg_len: usize)>,
pub confchg_fn: Option<fn(handle: &Handle, group_name: &str, member_list: Vec<Address>, left_list: Vec<Address>, joined_list: Vec<Address>)>,
pub totem_confchg_fn: Option<fn(handle: &Handle, ring_id: RingId, member_list: Vec<NodeId>)>,
}
Expand description
Data for model1 initialize
Fields§
§flags: Model1Flags
§deliver_fn: Option<fn(handle: &Handle, group_name: String, nodeid: NodeId, pid: u32, msg: &[u8], msg_len: usize)>
§confchg_fn: Option<fn(handle: &Handle, group_name: &str, member_list: Vec<Address>, left_list: Vec<Address>, joined_list: Vec<Address>)>
§totem_confchg_fn: Option<fn(handle: &Handle, ring_id: RingId, member_list: Vec<NodeId>)>
Trait Implementations§
source§impl Clone for Model1Data
impl Clone for Model1Data
source§fn clone(&self) -> Model1Data
fn clone(&self) -> Model1Data
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more