#[non_exhaustive]pub struct LogOptions {
pub development: bool,
pub directory: Option<PathBuf>,
pub output: Option<LogOutput>,
}Expand description
What install sets up.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.development: boolRun by nsh run: every line from info up when RUST_LOG is not set.
directory: Option<PathBuf>The directory of the log files (log_dir); None writes none.
output: Option<LogOutput>The platform’s own place for each line the filter lets through.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LogOptions
impl !UnwindSafe for LogOptions
impl Forget for LogOptions
impl Freeze for LogOptions
impl Move for LogOptions
impl Send for LogOptions
impl Sync for LogOptions
impl Unpin for LogOptions
impl UnsafeUnpin for LogOptionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const dyn Fn(&Record<'_>) + Send + Sync is !null: UnsafeUnpin,
PhantomData<dyn Fn(&Record<'_>) + Send + Sync>: UnsafeUnpin,
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