pub trait EmitError<'js> {
// Required method
fn emit_error<C>(
self,
id: &'static str,
ctx: &Ctx<'js>,
this: Class<'js, C>,
) -> Result<bool>
where C: Emitter<'js>;
}Required Methods§
fn emit_error<C>(
self,
id: &'static str,
ctx: &Ctx<'js>,
this: Class<'js, C>,
) -> Result<bool>where
C: Emitter<'js>,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".