Struct rfd::FileHandle [−][src]
pub struct FileHandle(_);
Expand description
FileHandle is a way of abstracting over a file returned by a dialog
Implementations
On native platforms it wraps path.
On WASM32
it wraps JS File
object.
Reads a file asynchronously.
On native platforms it spawns a std::thread
in the background.
This fn exists souly to keep native api in pair with async only web api.
Unwraps a FileHandle
and returns innet type.
It should be used, if user wants to handle file read themselves
On native platforms returns path.
On WASM32
it returns JS File
object.