Struct grpcio_sys::gpr_log_func_args
source · #[repr(C)]pub struct gpr_log_func_args {
pub file: *const c_char,
pub line: c_int,
pub severity: gpr_log_severity,
pub message: *const c_char,
}
Expand description
Log overrides: applications can use this API to intercept logging calls and use their own implementations
Fields§
§file: *const c_char
§line: c_int
§severity: gpr_log_severity
§message: *const c_char
Trait Implementations§
source§impl Clone for gpr_log_func_args
impl Clone for gpr_log_func_args
source§fn clone(&self) -> gpr_log_func_args
fn clone(&self) -> gpr_log_func_args
Returns a copy 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 gpr_log_func_args
impl Debug for gpr_log_func_args
impl Copy for gpr_log_func_args
Auto Trait Implementations§
impl RefUnwindSafe for gpr_log_func_args
impl !Send for gpr_log_func_args
impl !Sync for gpr_log_func_args
impl Unpin for gpr_log_func_args
impl UnwindSafe for gpr_log_func_args
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