Struct web_thread::web::audio_worklet::RegisterThreadFuture
source · pub struct RegisterThreadFuture(/* private fields */);Available on
Web and crate feature audio-worklet only.Expand description
Waits for the associated thread to register. See
BaseAudioContextExt::register_thread().
Trait Implementations§
source§impl Debug for RegisterThreadFuture
impl Debug for RegisterThreadFuture
source§impl Future for RegisterThreadFuture
impl Future for RegisterThreadFuture
§type Output = Result<AudioWorkletHandle, Error>
type Output = Result<AudioWorkletHandle, Error>
The type of value produced on completion.
impl RefUnwindSafe for RegisterThreadFuture
Auto Trait Implementations§
impl Freeze for RegisterThreadFuture
impl !Send for RegisterThreadFuture
impl !Sync for RegisterThreadFuture
impl Unpin for RegisterThreadFuture
impl !UnwindSafe for RegisterThreadFuture
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
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more