Struct simics_api_sys::leader_message_interface
source · #[repr(C)]pub struct leader_message_interface {
pub send: Option<unsafe extern "C" fn(obj: *mut conf_object_t, time: follower_time_t, skey: uint64, msg: bytes_t)>,
pub send_async: Option<unsafe extern "C" fn(obj: *mut conf_object_t, msg: bytes_t)>,
}
Fields§
§send: Option<unsafe extern "C" fn(obj: *mut conf_object_t, time: follower_time_t, skey: uint64, msg: bytes_t)>
§send_async: Option<unsafe extern "C" fn(obj: *mut conf_object_t, msg: bytes_t)>
Trait Implementations§
source§impl Clone for leader_message_interface
impl Clone for leader_message_interface
source§fn clone(&self) -> leader_message_interface
fn clone(&self) -> leader_message_interface
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 moresource§impl Debug for leader_message_interface
impl Debug for leader_message_interface
source§impl Default for leader_message_interface
impl Default for leader_message_interface
source§fn default() -> leader_message_interface
fn default() -> leader_message_interface
Returns the “default value” for a type. Read more
source§impl Hash for leader_message_interface
impl Hash for leader_message_interface
source§impl Ord for leader_message_interface
impl Ord for leader_message_interface
source§fn cmp(&self, other: &leader_message_interface) -> Ordering
fn cmp(&self, other: &leader_message_interface) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for leader_message_interface
impl PartialEq for leader_message_interface
source§impl PartialOrd for leader_message_interface
impl PartialOrd for leader_message_interface
impl Copy for leader_message_interface
impl Eq for leader_message_interface
impl StructuralPartialEq for leader_message_interface
Auto Trait Implementations§
impl Freeze for leader_message_interface
impl RefUnwindSafe for leader_message_interface
impl Send for leader_message_interface
impl Sync for leader_message_interface
impl Unpin for leader_message_interface
impl UnwindSafe for leader_message_interface
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)