Skip to main content

FileSystemDirectoryEntryMethods

pub trait FileSystemDirectoryEntryMethods<D: DomTypes> {
    // Required methods
    fn CreateReader(
        &self,
        cx: &mut JSContext,
    ) -> DomRoot<D::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, ) -> DomRoot<D::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§