pub trait TextDecoderStreamMethods<D: DomTypes> {
    // Required methods
    fn Readable(&self) -> DomRoot<D::ReadableStream>;
    fn Writable(&self) -> DomRoot<D::WritableStream>;
    fn Encoding(&self) -> DOMString;
    fn Fatal(&self) -> bool;
    fn IgnoreBOM(&self) -> bool;
    fn Constructor(
        global: &D::GlobalScope,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        label: DOMString,
        options: &TextDecoderOptions,
    ) -> Fallible<DomRoot<D::TextDecoderStream>>;
}

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§