pub trait QuotaExceededErrorMethods<D: DomTypes> {
// Required methods
fn GetQuota(&self) -> Option<Finite<f64>>;
fn GetRequested(&self) -> Option<Finite<f64>>;
fn Constructor(
global: &D::GlobalScope,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
message: DOMString,
options: &QuotaExceededErrorOptions,
) -> Fallible<DomRoot<D::QuotaExceededError>>;
}
Required Methods§
fn GetQuota(&self) -> Option<Finite<f64>>
fn GetRequested(&self) -> Option<Finite<f64>>
fn Constructor( global: &D::GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, message: DOMString, options: &QuotaExceededErrorOptions, ) -> Fallible<DomRoot<D::QuotaExceededError>>
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.