#[non_exhaustive]pub struct Log;
Expand description
Call back used for logging.
Trait Implementations§
Source§impl CallBack for Log
impl CallBack for Log
Source§type CallBackType = unsafe extern "C" fn(i32, *const i8, ...) -> i32
type CallBackType = unsafe extern "C" fn(i32, *const i8, ...) -> i32
Prototype of call back function.
Source§fn get_call_back() -> Option<Self::CallBackType>
fn get_call_back() -> Option<Self::CallBackType>
Get the current call back function, if one has been set. Read more
Source§fn set_call_back(func_log: Option<Self::CallBackType>)
fn set_call_back(func_log: Option<Self::CallBackType>)
Set or clear the call back function. Read more
Auto Trait Implementations§
impl Freeze for Log
impl RefUnwindSafe for Log
impl Send for Log
impl Sync for Log
impl Unpin for Log
impl UnwindSafe for Log
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