pub trait FileReaderMethods {
Show 20 methods // Required methods fn ReadAsArrayBuffer(&self, blob: &Blob) -> Result<(), Error>; fn ReadAsText( &self, blob: &Blob, label: Option<DOMString>, ) -> Result<(), Error>; fn ReadAsDataURL(&self, blob: &Blob) -> Result<(), Error>; fn Abort(&self, _can_gc: CanGc); fn ReadyState(&self) -> u16; fn GetResult(&self, cx: SafeJSContext) -> Option<StringOrObject>; fn GetError(&self) -> Option<Root<Dom<DOMException>>>; fn GetOnloadstart(&self) -> Option<Rc<EventHandlerNonNull>>; fn SetOnloadstart(&self, value: Option<Rc<EventHandlerNonNull>>); fn GetOnprogress(&self) -> Option<Rc<EventHandlerNonNull>>; fn SetOnprogress(&self, value: Option<Rc<EventHandlerNonNull>>); fn GetOnload(&self) -> Option<Rc<EventHandlerNonNull>>; fn SetOnload(&self, value: Option<Rc<EventHandlerNonNull>>); fn GetOnabort(&self) -> Option<Rc<EventHandlerNonNull>>; fn SetOnabort(&self, value: Option<Rc<EventHandlerNonNull>>); fn GetOnerror(&self) -> Option<Rc<EventHandlerNonNull>>; fn SetOnerror(&self, value: Option<Rc<EventHandlerNonNull>>); fn GetOnloadend(&self) -> Option<Rc<EventHandlerNonNull>>; fn SetOnloadend(&self, value: Option<Rc<EventHandlerNonNull>>); fn Constructor( global: &GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, ) -> Result<Root<Dom<FileReader>>, Error>;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§