#[non_exhaustive]pub enum ClientRequest {
DumpStats {
reason: Option<String>,
},
ToggleCollection,
StartInstrumentation,
StopInstrumentation,
ZeroStats,
}
Expand description
Callgrind client request.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DumpStats
Dump statistics, zeroing them afterwards.
ToggleCollection
Toggle collection on and off.
StartInstrumentation
Start instrumentation.
StopInstrumentation
Stop instrumentation.
ZeroStats
Clear costs.
Implementations§
Source§impl ClientRequest
impl ClientRequest
Trait Implementations§
Source§impl Clone for ClientRequest
impl Clone for ClientRequest
Source§fn clone(&self) -> ClientRequest
fn clone(&self) -> ClientRequest
Returns a copy of the value. Read more
1.0.0 · 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 ClientRequest
impl Debug for ClientRequest
Source§impl Hash for ClientRequest
impl Hash for ClientRequest
Source§impl PartialEq for ClientRequest
impl PartialEq for ClientRequest
impl Eq for ClientRequest
impl StructuralPartialEq for ClientRequest
Auto Trait Implementations§
impl Freeze for ClientRequest
impl RefUnwindSafe for ClientRequest
impl Send for ClientRequest
impl Sync for ClientRequest
impl Unpin for ClientRequest
impl UnwindSafe for ClientRequest
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