pub enum ServerEnvelope {
Hello {
runtime: RuntimeStatusSnapshot,
runtimes: Vec<RuntimeSummary>,
workspaces: Vec<WorkspaceRecord>,
pending_requests: Vec<PendingServerRequestRecord>,
},
Response {
request_id: String,
success: bool,
data: Option<Value>,
error: Option<ApiError>,
},
Event {
seq: i64,
event_type: String,
runtime_id: Option<String>,
thread_id: Option<String>,
payload: Value,
},
Pong {
server_time_ms: i64,
},
}Variants§
Hello
Fields
§
runtime: RuntimeStatusSnapshot§
runtimes: Vec<RuntimeSummary>§
workspaces: Vec<WorkspaceRecord>§
pending_requests: Vec<PendingServerRequestRecord>Response
Event
Fields
Pong
Trait Implementations§
Source§impl Debug for ServerEnvelope
impl Debug for ServerEnvelope
Auto Trait Implementations§
impl Freeze for ServerEnvelope
impl RefUnwindSafe for ServerEnvelope
impl Send for ServerEnvelope
impl Sync for ServerEnvelope
impl Unpin for ServerEnvelope
impl UnsafeUnpin for ServerEnvelope
impl UnwindSafe for ServerEnvelope
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