pub enum SiteHint {
LocalCoroutine,
Thread,
Process,
BrowserWasm,
AudioWorklet,
Lan,
}Expand description
Hint about the execution site a render is expected to run on.
Variants§
LocalCoroutine
Same-thread cooperative coroutine.
Thread
Dedicated worker thread.
Process
Separate operating-system process.
BrowserWasm
WebAssembly guest in a browser.
AudioWorklet
Browser audio worklet thread.
Lan
Node reachable over the local network.
Implementations§
Trait Implementations§
impl Copy for SiteHint
impl Eq for SiteHint
impl StructuralPartialEq for SiteHint
Auto Trait Implementations§
impl Freeze for SiteHint
impl RefUnwindSafe for SiteHint
impl Send for SiteHint
impl Sync for SiteHint
impl Unpin for SiteHint
impl UnsafeUnpin for SiteHint
impl UnwindSafe for SiteHint
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