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
sourceimpl Clone for gpr_log_func_args
impl Clone for gpr_log_func_args
sourcefn clone(&self) -> gpr_log_func_args
fn clone(&self) -> gpr_log_func_args
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more