pub struct Ipc<Ops>where
Ops: OpsT,{ /* private fields */ }Implementations§
Source§impl<Ops> Ipc<Ops>where
Ops: OpsT,
impl<Ops> Ipc<Ops>where
Ops: OpsT,
pub fn try_new_global_binding<Ident>(identifier: Ident) -> Result<Arc<Self>>where
Ident: ToString,
pub fn try_new_window_binding<Ident>(
window: &Arc<Window>,
identifier: Ident,
) -> Result<Arc<Self>>where
Ident: ToString,
pub async fn handle_message<'data>( &self, message: BorshMessage<'data, IpcId>, source: Option<IpcTarget>, ) -> Result<()>
pub fn method<Req, Resp>(&self, op: Ops, method: Method<Req, Resp>)
pub fn notification<Msg>(&self, op: Ops, method: Notification<Msg>)
Trait Implementations§
impl<Ops> Send for Ipc<Ops>where
Ops: OpsT,
impl<Ops> Sync for Ipc<Ops>where
Ops: OpsT,
Auto Trait Implementations§
impl<Ops> Freeze for Ipc<Ops>
impl<Ops> RefUnwindSafe for Ipc<Ops>where
Ops: RefUnwindSafe,
impl<Ops> Unpin for Ipc<Ops>where
Ops: Unpin,
impl<Ops> UnwindSafe for Ipc<Ops>where
Ops: 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