Struct pipewire::EventSource [−][src]
pub struct EventSource<'l> { /* fields omitted */ }
Expand description
A source that can be used to signal to a loop that an event has occurred.
This source can be obtained by calling add_event
on a loop, registering a callback to it.
By calling signal
on the EventSource
, the loop is signaled that the event has occurred.
It will then call the callback at the next possible occasion.
Implementations
Trait Implementations
Return a valid pointer to a raw spa_source
.