pub trait ReportingObserverMethods<D: DomTypes> {
    // Required methods
    fn Observe(&self);
    fn Disconnect(&self);
    fn TakeRecords(&self) -> Vec<Report>;
    fn Constructor(
        global: &D::GlobalScope,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        callback: Rc<ReportingObserverCallback<D>>,
        options: &ReportingObserverOptions,
    ) -> DomRoot<D::ReportingObserver>;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§