Struct web_thread::web::audio_worklet::AudioWorkletNodeError
source · pub struct AudioWorkletNodeError<P>where
P: ExtendAudioWorkletProcessor,{
pub data: P::Data,
pub error: Error,
}
Available on
Web
and crate feature audio-worklet
only.Expand description
Error returned by BaseAudioContextExt::audio_worklet_node()
.
Fields§
§data: P::Data
The passed ExtendAudioWorkletProcessor::Data
.
error: Error
The error thrown by new AudioWorkletNode
.
Trait Implementations§
source§impl<P> Debug for AudioWorkletNodeError<P>where
P: ExtendAudioWorkletProcessor,
impl<P> Debug for AudioWorkletNodeError<P>where
P: ExtendAudioWorkletProcessor,
source§impl<P> Display for AudioWorkletNodeError<P>where
P: ExtendAudioWorkletProcessor,
impl<P> Display for AudioWorkletNodeError<P>where
P: ExtendAudioWorkletProcessor,
source§impl<P> Error for AudioWorkletNodeError<P>where
P: ExtendAudioWorkletProcessor,
impl<P> Error for AudioWorkletNodeError<P>where
P: ExtendAudioWorkletProcessor,
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl<P> Freeze for AudioWorkletNodeError<P>
impl<P> !RefUnwindSafe for AudioWorkletNodeError<P>
impl<P> Send for AudioWorkletNodeError<P>
impl<P> Sync for AudioWorkletNodeError<P>
impl<P> Unpin for AudioWorkletNodeError<P>
impl<P> !UnwindSafe for AudioWorkletNodeError<P>
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