pub enum AppServerInbound {
Starting {
runtime_id: String,
},
ProcessChanged {
runtime_id: String,
pid: Option<u32>,
running: bool,
},
Initializing {
runtime_id: String,
experimental_api_enabled: bool,
opt_out_notification_methods: Vec<String>,
},
Initialized {
runtime_id: String,
info: InitializeInfo,
experimental_api_enabled: bool,
opt_out_notification_methods: Vec<String>,
},
HandshakeFailed {
runtime_id: String,
message: String,
experimental_api_enabled: bool,
opt_out_notification_methods: Vec<String>,
},
Notification {
runtime_id: String,
method: String,
params: Value,
},
ServerRequest {
runtime_id: String,
id: Value,
method: String,
params: Value,
},
Exited {
runtime_id: String,
message: String,
expected: bool,
},
LogChunk {
runtime_id: String,
stream: String,
level: String,
source: String,
message: String,
detail: Option<Value>,
occurred_at_ms: i64,
},
}Variants§
Starting
ProcessChanged
Initializing
Initialized
Fields
§
info: InitializeInfoHandshakeFailed
Fields
Notification
ServerRequest
Exited
LogChunk
Trait Implementations§
Source§impl Clone for AppServerInbound
impl Clone for AppServerInbound
Source§fn clone(&self) -> AppServerInbound
fn clone(&self) -> AppServerInbound
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 moreAuto Trait Implementations§
impl Freeze for AppServerInbound
impl RefUnwindSafe for AppServerInbound
impl Send for AppServerInbound
impl Sync for AppServerInbound
impl Unpin for AppServerInbound
impl UnsafeUnpin for AppServerInbound
impl UnwindSafe for AppServerInbound
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