#[non_exhaustive]pub struct Traceoptions {
pub file: Option<String>,
pub size: Option<String>,
pub files: Option<String>,
pub world_readable: Option<bool>,
pub no_remote_trace: bool,
pub flags: Vec<TraceFlag>,
}Expand description
A traceoptions block. Values are kept as written.
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.file: Option<String>The trace file name, without quotes.
size: Option<String>Maximum size of each trace file, e.g. 10m.
files: Option<String>Maximum number of trace files.
world_readable: Option<bool>Some(true) for world-readable, Some(false) for no-world-readable.
no_remote_trace: bool§flags: Vec<TraceFlag>Trait Implementations§
Source§impl Clone for Traceoptions
impl Clone for Traceoptions
Source§impl Debug for Traceoptions
impl Debug for Traceoptions
Source§impl Default for Traceoptions
impl Default for Traceoptions
impl Eq for Traceoptions
Source§impl PartialEq for Traceoptions
impl PartialEq for Traceoptions
impl StructuralPartialEq for Traceoptions
Auto Trait Implementations§
impl Forget for Traceoptions
impl Freeze for Traceoptions
impl Move for Traceoptions
impl RefUnwindSafe for Traceoptions
impl Send for Traceoptionswhere
RawVecInner: Send,
impl Sync for Traceoptionswhere
RawVecInner: Sync,
impl Unpin for Traceoptions
impl UnsafeUnpin for Traceoptionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<TraceFlag>: UnsafeUnpin,
impl UnwindSafe for Traceoptionswhere
RawVecInner: UnwindSafe,
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