#[repr(C)]pub struct QarLibraryInit {
pub header: QarStructureHeader,
pub enable_console_logging: bool,
pub log_folder_path: *const c_char,
pub log_severity: QarLogSeverity,
}Expand description
@brief Library initialization parameters.
Fields§
§header: QarStructureHeader§enable_console_logging: bool§log_folder_path: *const c_charFolder for qar_streaming.log, or NULL for no log file. The file starts
empty on each init and rolls over once it is a day old or 256 MiB, to
qar_streaming.<UTC time>.log; the oldest of those are deleted so the
log takes at most 3 GiB. UTF-8, like every path in this API (see @ref
qar_text_encoding).
log_severity: QarLogSeverityTrait Implementations§
Source§impl Clone for QarLibraryInit
impl Clone for QarLibraryInit
impl Copy for QarLibraryInit
Source§impl Debug for QarLibraryInit
impl Debug for QarLibraryInit
Source§impl PartialEq for QarLibraryInit
impl PartialEq for QarLibraryInit
impl StructuralPartialEq for QarLibraryInit
Auto Trait Implementations§
impl !Send for QarLibraryInit
impl !Sync for QarLibraryInit
impl Freeze for QarLibraryInit
impl RefUnwindSafe for QarLibraryInit
impl Unpin for QarLibraryInit
impl UnsafeUnpin for QarLibraryInit
impl UnwindSafe for QarLibraryInit
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