pub trait IDBVersionChangeEventMethods<D: DomTypes> {
    // Required methods
    fn OldVersion(&self) -> u64;
    fn GetNewVersion(&self) -> Option<u64>;
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &D::GlobalScope,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        type_: DOMString,
        eventInitDict: &IDBVersionChangeEventInit,
    ) -> DomRoot<D::IDBVersionChangeEvent>;
}

Required Methods§

Source

fn OldVersion(&self) -> u64

Source

fn GetNewVersion(&self) -> Option<u64>

Source

fn IsTrusted(&self) -> bool

Source

fn Constructor( global: &D::GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &IDBVersionChangeEventInit, ) -> DomRoot<D::IDBVersionChangeEvent>

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§