pub struct ProfileFlags {
pub memory: bool,
pub cpu: bool,
pub cascade: bool,
pub heap: bool,
pub jsonl: bool,
pub detail: bool,
}Expand description
Set of active AZ_PROFILE tokens. Parsed once from the env var.
Fields§
§memory: bool§cpu: bool§cascade: bool§heap: bool§jsonl: bool§detail: boolTrait Implementations§
Source§impl Clone for ProfileFlags
impl Clone for ProfileFlags
Source§fn clone(&self) -> ProfileFlags
fn clone(&self) -> ProfileFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProfileFlags
impl Debug for ProfileFlags
Source§impl Default for ProfileFlags
impl Default for ProfileFlags
Source§fn default() -> ProfileFlags
fn default() -> ProfileFlags
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProfileFlags
impl PartialEq for ProfileFlags
Source§fn eq(&self, other: &ProfileFlags) -> bool
fn eq(&self, other: &ProfileFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ProfileFlags
impl Eq for ProfileFlags
impl StructuralPartialEq for ProfileFlags
Auto Trait Implementations§
impl Freeze for ProfileFlags
impl RefUnwindSafe for ProfileFlags
impl Send for ProfileFlags
impl Sync for ProfileFlags
impl Unpin for ProfileFlags
impl UnsafeUnpin for ProfileFlags
impl UnwindSafe for ProfileFlags
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