Skip to main content

FileSystemDirectoryEntryMethods

Trait FileSystemDirectoryEntryMethods 

Source
pub(crate) trait FileSystemDirectoryEntryMethods<D>
where D: DomTypes,
{ // Required methods fn CreateReader( &self, cx: &mut JSContext, ) -> Root<Dom<<D as DomTypes>::FileSystemDirectoryReader>>; fn GetFile( &self, path: Option<Option<USVString>>, options: &FileSystemFlags, successCallback: Option<Rc<FileSystemEntryCallback<D>>>, errorCallback: Option<Rc<ErrorCallback<D>>>, ); fn GetDirectory( &self, path: Option<Option<USVString>>, options: &FileSystemFlags, successCallback: Option<Rc<FileSystemEntryCallback<D>>>, errorCallback: Option<Rc<ErrorCallback<D>>>, ); }

Required Methods§

Source

fn CreateReader( &self, cx: &mut JSContext, ) -> Root<Dom<<D as DomTypes>::FileSystemDirectoryReader>>

Source

fn GetFile( &self, path: Option<Option<USVString>>, options: &FileSystemFlags, successCallback: Option<Rc<FileSystemEntryCallback<D>>>, errorCallback: Option<Rc<ErrorCallback<D>>>, )

Source

fn GetDirectory( &self, path: Option<Option<USVString>>, options: &FileSystemFlags, successCallback: Option<Rc<FileSystemEntryCallback<D>>>, errorCallback: Option<Rc<ErrorCallback<D>>>, )

Implementors§