pub enum DebugRequest {
Compact {
responder: DebugCompactResponder,
},
DeleteProfile {
volume: String,
profile: String,
responder: DebugDeleteProfileResponder,
},
StopProfileTasks {
responder: DebugStopProfileTasksResponder,
},
}
Expand description
This is an internal protocol for on-device debugging and testing only.
See ffx fxfs help
for more details.
Variants§
Compact
Forces a compaction.
Fields
§
responder: DebugCompactResponder
DeleteProfile
Deletes a recorded profile from a volume. Fails if the volume isn’t mounted or there is active profile recording or replay.
StopProfileTasks
Stops all profile recording and replay activity. Ongoing recordings are completed and persisted.
Fields
§
responder: DebugStopProfileTasksResponder
Implementations§
Source§impl DebugRequest
impl DebugRequest
pub fn into_compact(self) -> Option<DebugCompactResponder>
pub fn into_delete_profile( self, ) -> Option<(String, String, DebugDeleteProfileResponder)>
pub fn into_stop_profile_tasks(self) -> Option<DebugStopProfileTasksResponder>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DebugRequest
impl !RefUnwindSafe for DebugRequest
impl Send for DebugRequest
impl Sync for DebugRequest
impl Unpin for DebugRequest
impl !UnwindSafe for DebugRequest
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