#[repr(C)]pub struct dds_log_data_t {
pub priority: u32,
pub domid: u32,
pub file: *const c_char,
pub line: u32,
pub function: *const c_char,
pub message: *const c_char,
pub size: usize,
pub hdrsize: usize,
}Expand description
Structure with log message and meta data passed to callbacks.
Fields§
§priority: u32Log category the message falls into.
domid: u32Log domain id, UINT32_MAX is global.
file: *const c_charFilename where message was generated.
line: u32Line number in file where message was generated.
function: *const c_charName of function message where message was generated.
message: *const c_charLog message.
size: usizeSize of log message.
hdrsize: usizeDefault log message header length
Trait Implementations§
Source§impl Clone for dds_log_data_t
impl Clone for dds_log_data_t
Source§fn clone(&self) -> dds_log_data_t
fn clone(&self) -> dds_log_data_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 Debug for dds_log_data_t
impl Debug for dds_log_data_t
Source§impl Default for dds_log_data_t
impl Default for dds_log_data_t
impl Copy for dds_log_data_t
Auto Trait Implementations§
impl Freeze for dds_log_data_t
impl RefUnwindSafe for dds_log_data_t
impl !Send for dds_log_data_t
impl !Sync for dds_log_data_t
impl Unpin for dds_log_data_t
impl UnsafeUnpin for dds_log_data_t
impl UnwindSafe for dds_log_data_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