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: Model1Flagsdeliver_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
sourceimpl Clone for Model1Data
impl Clone for Model1Data
sourcefn clone(&self) -> Model1Data
fn clone(&self) -> Model1Data
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Model1Data
Auto Trait Implementations
impl RefUnwindSafe for Model1Data
impl Send for Model1Data
impl Sync for Model1Data
impl Unpin for Model1Data
impl UnwindSafe for Model1Data
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