Skip to main content

WritableFolderPicker

Trait WritableFolderPicker 

Source
pub trait WritableFolderPicker {
    // Required method
    fn pick(&self) -> PickerFuture<Result<Option<String>, FilePickerError>>;
}
Expand description

Presents the system “pick a writable folder” UI. Platform-provided (Android); desktop/web use the built-in backend.

Required Methods§

Source

fn pick(&self) -> PickerFuture<Result<Option<String>, FilePickerError>>

Resolves to the durable handle string, or None if the user cancelled.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§