pub struct Event<'d> { /* private fields */ }Expand description
IPC event
Implementations§
Source§impl<'d> Event<'d>
impl<'d> Event<'d>
Sourcepub fn number(&self) -> EventNumber
pub fn number(&self) -> EventNumber
Returns the EventNumber of the event.
Sourcepub fn trigger_handle(&self) -> EventTrigger<'d>
pub fn trigger_handle(&self) -> EventTrigger<'d>
Create a handle that can trigger the event.
Sourcepub fn configure_trigger<I: IntoIterator<Item = IpcChannel>>(
&mut self,
channels: I,
)
pub fn configure_trigger<I: IntoIterator<Item = IpcChannel>>( &mut self, channels: I, )
Configure the channels the event will broadcast to
Sourcepub fn configure_wait<I: IntoIterator<Item = IpcChannel>>(
&mut self,
channels: I,
)
pub fn configure_wait<I: IntoIterator<Item = IpcChannel>>( &mut self, channels: I, )
Configure the channels the event will listen on
Auto Trait Implementations§
impl<'d> !RefUnwindSafe for Event<'d>
impl<'d> !UnwindSafe for Event<'d>
impl<'d> Freeze for Event<'d>
impl<'d> Send for Event<'d>
impl<'d> Sync for Event<'d>
impl<'d> Unpin for Event<'d>
impl<'d> UnsafeUnpin for Event<'d>
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