pub struct ProfileConfig {
pub entrypoint: String,
pub phase: ExecutionPhase,
pub profile: String,
pub cargo_features: Vec<String>,
pub analysis_id: Option<String>,
pub build_id: Option<String>,
}Expand description
Configuration for a profiling session started alongside train or inference.
Fields§
§entrypoint: String§phase: ExecutionPhase§profile: String§cargo_features: Vec<String>§analysis_id: Option<String>§build_id: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for ProfileConfig
impl Clone for ProfileConfig
Source§fn clone(&self) -> ProfileConfig
fn clone(&self) -> ProfileConfig
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 moreAuto Trait Implementations§
impl Freeze for ProfileConfig
impl RefUnwindSafe for ProfileConfig
impl Send for ProfileConfig
impl Sync for ProfileConfig
impl Unpin for ProfileConfig
impl UnsafeUnpin for ProfileConfig
impl UnwindSafe for ProfileConfig
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