pub struct FnIpcHandler<F>{ /* private fields */ }Expand description
A function-based IPC handler.
Implementations§
Source§impl<F> FnIpcHandler<F>
impl<F> FnIpcHandler<F>
Trait Implementations§
Source§impl<F> IpcHandler for FnIpcHandler<F>
impl<F> IpcHandler for FnIpcHandler<F>
Source§fn handle(&self, message: IpcMessage) -> IpcResponse
fn handle(&self, message: IpcMessage) -> IpcResponse
Handle an IPC message and return a response.
Auto Trait Implementations§
impl<F> Freeze for FnIpcHandler<F>where
F: Freeze,
impl<F> RefUnwindSafe for FnIpcHandler<F>where
F: RefUnwindSafe,
impl<F> Send for FnIpcHandler<F>
impl<F> Sync for FnIpcHandler<F>
impl<F> Unpin for FnIpcHandler<F>where
F: Unpin,
impl<F> UnsafeUnpin for FnIpcHandler<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for FnIpcHandler<F>where
F: 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