pub trait FileMethods {
    // Required methods
    fn Name(&self) -> DOMString;
    fn LastModified(&self) -> i64;
    fn Constructor(
        global: &GlobalScope,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        fileBits: Vec<ArrayBufferOrArrayBufferViewOrBlobOrString>,
        fileName: DOMString,
        options: &FilePropertyBag,
    ) -> Result<Root<Dom<File>>, Error>;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§