pub enum DebugCommand {
Show 16 variants
ListSessions {
limit: Option<usize>,
active_only: Option<bool>,
},
Subscribe {
session_id: String,
mode: SubscriptionMode,
from_index: Option<usize>,
},
Unsubscribe {
session_id: String,
},
Seek {
session_id: String,
timestamp: String,
},
PlaybackSpeed {
session_id: String,
speed: f64,
},
Filter {
session_id: String,
filter: EventFilter,
},
Pause {
session_id: String,
},
Resume {
session_id: String,
},
StepForward {
session_id: String,
},
StepBackward {
session_id: String,
},
SetBreakpoint {
session_id: String,
breakpoint: BreakpointConfig,
},
ClearBreakpoint {
session_id: String,
breakpoint_id: String,
},
ListBreakpoints {
session_id: String,
},
ListArchives {
limit: Option<usize>,
prefix: Option<String>,
},
ImportArchive {
session_id: String,
},
UploadArchive {
file_name: String,
data: String,
},
}Expand description
Commands from debug UI client to server.
Variants§
ListSessions
Subscribe
Unsubscribe
Seek
PlaybackSpeed
Filter
Pause
Resume
StepForward
StepBackward
SetBreakpoint
ClearBreakpoint
ListBreakpoints
ListArchives
ImportArchive
UploadArchive
Trait Implementations§
Source§impl Clone for DebugCommand
impl Clone for DebugCommand
Source§fn clone(&self) -> DebugCommand
fn clone(&self) -> DebugCommand
Returns a duplicate 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 DebugCommand
impl Debug for DebugCommand
Source§impl<'de> Deserialize<'de> for DebugCommand
impl<'de> Deserialize<'de> for DebugCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DebugCommand
impl RefUnwindSafe for DebugCommand
impl Send for DebugCommand
impl Sync for DebugCommand
impl Unpin for DebugCommand
impl UnsafeUnpin for DebugCommand
impl UnwindSafe for DebugCommand
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