pub struct LogOptions { /* private fields */ }
Expand description
Options to configure how llama.cpp logs are intercepted.
Implementations§
Source§impl LogOptions
impl LogOptions
Sourcepub fn with_logs_enabled(self, enabled: bool) -> Self
pub fn with_logs_enabled(self, enabled: bool) -> Self
If enabled, logs are sent to tracing. If disabled, all logs are suppressed. Default is for logs to be sent to tracing.
Trait Implementations§
Source§impl Clone for LogOptions
impl Clone for LogOptions
Source§fn clone(&self) -> LogOptions
fn clone(&self) -> LogOptions
Returns a duplicate 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 LogOptions
impl Debug for LogOptions
Source§impl Default for LogOptions
impl Default for LogOptions
Source§fn default() -> LogOptions
fn default() -> LogOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LogOptions
impl RefUnwindSafe for LogOptions
impl Send for LogOptions
impl Sync for LogOptions
impl Unpin for LogOptions
impl UnwindSafe for LogOptions
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