pub struct DashboardServer { /* private fields */ }Implementations§
Source§impl DashboardServer
impl DashboardServer
Sourcepub fn new(
metrics: Arc<PerformanceMetrics>,
num_workers: usize,
config: DashboardConfig,
) -> Self
pub fn new( metrics: Arc<PerformanceMetrics>, num_workers: usize, config: DashboardConfig, ) -> Self
Create a new dashboard server.
num_workers must match the value passed to PerformanceMetrics::new.
pub fn set_profile(&self, profile: ExecutionProfile)
pub fn start(self) -> DashboardHandle
Auto Trait Implementations§
impl Freeze for DashboardServer
impl RefUnwindSafe for DashboardServer
impl Send for DashboardServer
impl Sync for DashboardServer
impl Unpin for DashboardServer
impl UnsafeUnpin for DashboardServer
impl UnwindSafe for DashboardServer
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