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§
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>>>, )
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".