pub struct LogPacket { /* private fields */ }
Implementations
sourceimpl LogPacket
impl LogPacket
pub fn new() -> Self
pub fn from(data: Vec<u8>) -> Option<Self>
pub fn encode_packet(&mut self) -> Vec<Vec<u8>>
pub fn encode_binlog(&mut self) -> Vec<Vec<u8>>
pub fn try_join(&mut self, other: Self)
pub fn is_head(&self) -> bool
pub fn is_tail(&self) -> bool
pub fn get_process_id(&self) -> u64
pub fn set_process_id(&mut self, process_id: u64)
pub fn get_thread_id(&self) -> u64
pub fn set_thread_id(&mut self, thread_id: u64)
pub fn get_flags(&self) -> u8
pub fn set_flags(&mut self, flags: u8)
pub fn get_severity(&self) -> LogSeverity
pub fn set_severity(&mut self, severity: LogSeverity)
pub fn get_verbosity(&self) -> bool
pub fn set_verbosity(&mut self, verbosity: bool)
pub fn get_log_session_begin(&self) -> Option<bool>
pub fn set_log_session_begin(&mut self, log_session_begin: bool)
pub fn get_log_session_end(&self) -> Option<bool>
pub fn set_log_session_end(&mut self, log_session_end: bool)
pub fn get_text_log(&self) -> Option<String>
pub fn set_text_log(&mut self, text_log: String)
pub fn get_line_number(&self) -> Option<u32>
pub fn set_line_number(&mut self, line_number: u32)
pub fn get_file_name(&self) -> Option<String>
pub fn set_file_name(&mut self, file_name: String)
pub fn get_function_name(&self) -> Option<String>
pub fn set_function_name(&mut self, function_name: String)
pub fn get_module_name(&self) -> Option<String>
pub fn set_module_name(&mut self, module_name: String)
pub fn get_thread_name(&self) -> Option<String>
pub fn set_thread_name(&mut self, thread_name: String)
pub fn get_log_packet_drop_count(&self) -> Option<u64>
pub fn set_log_packet_drop_count(&mut self, log_packet_drop_count: u64)
pub fn get_user_system_clock(&self) -> Option<u64>
pub fn set_user_system_clock(&mut self, user_system_clock: u64)
pub fn get_process_name(&self) -> Option<String>
pub fn set_process_name(&mut self, process_name: String)
Auto Trait Implementations
impl RefUnwindSafe for LogPacket
impl Send for LogPacket
impl Sync for LogPacket
impl Unpin for LogPacket
impl UnwindSafe for LogPacket
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