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 duplicate 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 moreimpl Copy for Model1Data
Auto Trait Implementations§
impl Freeze for Model1Data
impl RefUnwindSafe for Model1Data
impl Send for Model1Data
impl Sync for Model1Data
impl Unpin for Model1Data
impl UnwindSafe for Model1Data
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more