pub struct IpcParent { /* private fields */ }
Implementations§
source§impl IpcParent
impl IpcParent
pub fn setup(module: &Module) -> Result<IpcParent>
pub fn send_start(&mut self, start: &StartCommand) -> Result<()>
pub fn send(&mut self, value: &Value) -> Result<()>
pub fn send_struct<T: Serialize>(&mut self, value: T, tx: &EventSender)
pub fn recv(&mut self) -> Result<Event>
pub fn wait(&mut self) -> Result<()>
pub fn send_event_callback<T: EventWithCallback>( &mut self, event: T, tx: &EventSender )where <T as EventWithCallback>::Payload: Serialize,
Auto Trait Implementations§
impl RefUnwindSafe for IpcParent
impl Send for IpcParent
impl Sync for IpcParent
impl Unpin for IpcParent
impl UnwindSafe for IpcParent
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere T: 'a,
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
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
fn into_sql<T>(self) -> Self::Expressionwhere Self: AsExpression<T> + Sized,
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere &'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more