#[repr(C)]pub struct ddsrt_log_cfg_common {
pub mask: u32,
pub tracemask: u32,
pub domid: u32,
}Expand description
Semi-opaque type for log/trace configuration.
Fields§
§mask: u32Mask for testing whether the xLOG macro should forward to the function (and so incur the cost of constructing the parameters). Messages in DDS_LOG_MASK are rare, so the overhead of calling the function and then dropping the message is not an issue, unlike for messages in DDS_TRACE_MASK.
tracemask: u32The actual configured trace mask
domid: u32Domain id for reporting; UINT32_MAX = no domain
Trait Implementations§
Source§impl Clone for ddsrt_log_cfg_common
impl Clone for ddsrt_log_cfg_common
Source§fn clone(&self) -> ddsrt_log_cfg_common
fn clone(&self) -> ddsrt_log_cfg_common
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ddsrt_log_cfg_common
Source§impl Debug for ddsrt_log_cfg_common
impl Debug for ddsrt_log_cfg_common
Source§impl Default for ddsrt_log_cfg_common
impl Default for ddsrt_log_cfg_common
Source§fn default() -> ddsrt_log_cfg_common
fn default() -> ddsrt_log_cfg_common
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ddsrt_log_cfg_common
impl RefUnwindSafe for ddsrt_log_cfg_common
impl Send for ddsrt_log_cfg_common
impl Sync for ddsrt_log_cfg_common
impl Unpin for ddsrt_log_cfg_common
impl UnsafeUnpin for ddsrt_log_cfg_common
impl UnwindSafe for ddsrt_log_cfg_common
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