#[repr(C, packed(1))]pub struct neomessage_frame_t {
pub status: neomessage_statusbitfield_t,
pub timestamp: u64,
pub _reservedTimestamp: u64,
pub data: *const u8,
pub length: usize,
pub header: [u8; 4],
pub netid: neonetid_t,
pub type_: neonettype_t,
pub _reserved0: u8,
pub description: u16,
pub messageType: neomessagetype_t,
pub _reserved1: [u8; 12],
}Fields§
§status: neomessage_statusbitfield_t§timestamp: u64§_reservedTimestamp: u64§data: *const u8§length: usize§header: [u8; 4]§netid: neonetid_t§type_: neonettype_t§_reserved0: u8§description: u16§messageType: neomessagetype_t§_reserved1: [u8; 12]Trait Implementations§
Source§impl Clone for neomessage_frame_t
impl Clone for neomessage_frame_t
Source§fn clone(&self) -> neomessage_frame_t
fn clone(&self) -> neomessage_frame_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 moreSource§impl Default for neomessage_frame_t
impl Default for neomessage_frame_t
impl Copy for neomessage_frame_t
Auto Trait Implementations§
impl Freeze for neomessage_frame_t
impl RefUnwindSafe for neomessage_frame_t
impl !Send for neomessage_frame_t
impl !Sync for neomessage_frame_t
impl Unpin for neomessage_frame_t
impl UnwindSafe for neomessage_frame_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