pub struct IpcHandler<H: ParameterHost> { /* private fields */ }Expand description
IPC message handler that dispatches requests to a ParameterHost
Implementations§
Source§impl<H: ParameterHost> IpcHandler<H>
impl<H: ParameterHost> IpcHandler<H>
Sourcepub fn handle_request(&self, request: IpcRequest) -> IpcResponse
pub fn handle_request(&self, request: IpcRequest) -> IpcResponse
Handle an incoming IPC request and produce a response
This is the main entry point for processing messages from the UI. It dispatches to appropriate handlers based on the method name.
Sourcepub fn handle_json(&self, json: &str) -> String
pub fn handle_json(&self, json: &str) -> String
Handle a raw JSON string request
Convenience method that parses JSON and dispatches to handle_request.
Auto Trait Implementations§
impl<H> Freeze for IpcHandler<H>where
H: Freeze,
impl<H> RefUnwindSafe for IpcHandler<H>where
H: RefUnwindSafe,
impl<H> Send for IpcHandler<H>
impl<H> Sync for IpcHandler<H>
impl<H> Unpin for IpcHandler<H>where
H: Unpin,
impl<H> UnwindSafe for IpcHandler<H>where
H: UnwindSafe,
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