pub enum DebugResponse {
Show 15 variants
SessionList {
sessions: Vec<SessionSummary>,
},
Subscribed {
session_id: String,
net_name: String,
dot_diagram: String,
structure: NetStructure,
current_marking: HashMap<String, Vec<TokenInfo>>,
enabled_transitions: Vec<String>,
in_flight_transitions: Vec<String>,
event_count: usize,
mode: String,
},
Unsubscribed {
session_id: String,
},
Event {
session_id: String,
index: usize,
event: NetEventInfo,
},
EventBatch {
session_id: String,
start_index: usize,
events: Vec<NetEventInfo>,
has_more: bool,
},
MarkingSnapshot {
session_id: String,
marking: HashMap<String, Vec<TokenInfo>>,
enabled_transitions: Vec<String>,
in_flight_transitions: Vec<String>,
},
PlaybackStateChanged {
session_id: String,
paused: bool,
speed: f64,
current_index: usize,
},
FilterApplied {
session_id: String,
filter: EventFilter,
},
BreakpointHit {
session_id: String,
breakpoint_id: String,
event: NetEventInfo,
event_index: usize,
},
BreakpointList {
session_id: String,
breakpoints: Vec<BreakpointConfig>,
},
BreakpointSet {
session_id: String,
breakpoint: BreakpointConfig,
},
BreakpointCleared {
session_id: String,
breakpoint_id: String,
},
Error {
code: String,
message: String,
session_id: Option<String>,
},
ArchiveList {
archives: Vec<ArchiveSummary>,
storage_available: bool,
},
ArchiveImported {
session_id: String,
net_name: String,
event_count: usize,
},
}Expand description
Responses from server to debug UI client.
Variants§
SessionList
Fields
§
sessions: Vec<SessionSummary>Subscribed
Fields
§
structure: NetStructureUnsubscribed
Event
EventBatch
MarkingSnapshot
Fields
PlaybackStateChanged
FilterApplied
BreakpointHit
BreakpointList
BreakpointSet
BreakpointCleared
Error
ArchiveList
ArchiveImported
Trait Implementations§
Source§impl Clone for DebugResponse
impl Clone for DebugResponse
Source§fn clone(&self) -> DebugResponse
fn clone(&self) -> DebugResponse
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 DebugResponse
impl Debug for DebugResponse
Source§impl<'de> Deserialize<'de> for DebugResponse
impl<'de> Deserialize<'de> for DebugResponse
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 DebugResponse
impl RefUnwindSafe for DebugResponse
impl Send for DebugResponse
impl Sync for DebugResponse
impl Unpin for DebugResponse
impl UnsafeUnpin for DebugResponse
impl UnwindSafe for DebugResponse
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