Struct logpacket::detail::LogPacketBody
source · [−]pub struct LogPacketBody {
pub log_session_begin: bool,
pub log_session_end: bool,
pub text_log: String,
pub line_number: u32,
pub file_name: String,
pub function_name: String,
pub module_name: String,
pub thread_name: String,
pub log_packet_drop_count: u64,
pub user_system_clock: u64,
pub process_name: String,
}
Fields
log_session_begin: bool
log_session_end: bool
text_log: String
line_number: u32
file_name: String
function_name: String
module_name: String
thread_name: String
log_packet_drop_count: u64
user_system_clock: u64
process_name: String
Implementations
sourceimpl LogPacketBody
impl LogPacketBody
pub fn new() -> Self
pub fn compute_size(&self, is_head: bool) -> u32
Auto Trait Implementations
impl RefUnwindSafe for LogPacketBody
impl Send for LogPacketBody
impl Sync for LogPacketBody
impl Unpin for LogPacketBody
impl UnwindSafe for LogPacketBody
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more