Enum ipc_channel::router::RouterMsg
source · enum RouterMsg {
AddRoute(OpaqueIpcReceiver, RouterHandler),
Shutdown(Sender<()>),
}
Variants§
AddRoute(OpaqueIpcReceiver, RouterHandler)
Register the receiver OpaqueIpcReceiver for listening for events on. When a message comes from this receiver, call RouterHandler.
Shutdown(Sender<()>)
Shutdown the router, providing a sender to send an acknowledgement.
Auto Trait Implementations§
impl !Freeze for RouterMsg
impl !RefUnwindSafe for RouterMsg
impl Send for RouterMsg
impl !Sync for RouterMsg
impl Unpin for RouterMsg
impl !UnwindSafe for RouterMsg
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