#[repr(C)]pub struct lc_message_t {Show 15 fields
pub timestamp: u64,
pub dst: in6_addr,
pub src: in6_addr,
pub seq: lc_seq_t,
pub rnd: lc_rnd_t,
pub len: lc_len_t,
pub bytes: usize,
pub sockid: u32,
pub op: lc_opcode_t,
pub free: lc_free_fn_t,
pub chan: *mut lc_channel_t,
pub srcaddr: [c_char; 46],
pub dstaddr: [c_char; 46],
pub hint: *mut c_void,
pub data: *mut c_void,
}Fields§
§timestamp: u64§dst: in6_addr§src: in6_addr§seq: lc_seq_t§rnd: lc_rnd_t§len: lc_len_t§bytes: usize§sockid: u32§op: lc_opcode_t§free: lc_free_fn_t§chan: *mut lc_channel_t§srcaddr: [c_char; 46]§dstaddr: [c_char; 46]§hint: *mut c_void§data: *mut c_voidTrait Implementations§
Source§impl Clone for lc_message_t
impl Clone for lc_message_t
Source§fn clone(&self) -> lc_message_t
fn clone(&self) -> lc_message_t
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 lc_message_t
Auto Trait Implementations§
impl Freeze for lc_message_t
impl RefUnwindSafe for lc_message_t
impl !Send for lc_message_t
impl !Sync for lc_message_t
impl Unpin for lc_message_t
impl UnwindSafe for lc_message_t
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