pub enum LivePlacementSite {
Coroutine,
Thread,
HostCallback,
Process,
}Expand description
Local placement sites supported by the live audio graph backbone.
Variants§
Coroutine
Runs inline on the caller (cooperative coroutine).
Thread
Runs on a dedicated worker thread.
HostCallback
Runs directly in the host audio callback (realtime, audio-clock thread).
Process
Runs in a separate process behind shared rings.
Implementations§
Source§impl LivePlacementSite
impl LivePlacementSite
Sourcepub const fn runs_on_audio_clock_thread(self) -> bool
pub const fn runs_on_audio_clock_thread(self) -> bool
Returns whether this site runs on the audio-clock thread.
Sourcepub const fn uses_process_ring(self) -> bool
pub const fn uses_process_ring(self) -> bool
Returns whether this site communicates over a shared process ring.
Sourcepub const fn allows_realtime_pin(self) -> bool
pub const fn allows_realtime_pin(self) -> bool
Returns whether realtime-pinned processors may run at this site.
Trait Implementations§
Source§impl Clone for LivePlacementSite
impl Clone for LivePlacementSite
Source§fn clone(&self) -> LivePlacementSite
fn clone(&self) -> LivePlacementSite
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LivePlacementSite
Source§impl Debug for LivePlacementSite
impl Debug for LivePlacementSite
impl Eq for LivePlacementSite
Source§impl PartialEq for LivePlacementSite
impl PartialEq for LivePlacementSite
impl StructuralPartialEq for LivePlacementSite
Auto Trait Implementations§
impl Freeze for LivePlacementSite
impl RefUnwindSafe for LivePlacementSite
impl Send for LivePlacementSite
impl Sync for LivePlacementSite
impl Unpin for LivePlacementSite
impl UnsafeUnpin for LivePlacementSite
impl UnwindSafe for LivePlacementSite
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