Skip to main content

AndroidFsExt

Trait AndroidFsExt 

Source
pub trait AndroidFsExt<R: Runtime> {
    // Required methods
    fn android_fs(&self) -> &AndroidFs<R>;
    fn android_fs_async(&self) -> &AndroidFs<R>;
}

Required Methods§

Source

fn android_fs(&self) -> &AndroidFs<R>

Provides an API for accessing the Android file system.

It is a blocking-based API. If you need an asynchronous API, use AndroidFsExt::android_fs_async.

Source

fn android_fs_async(&self) -> &AndroidFs<R>

Provides an asynchronous API for accessing the Android file system.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<R: Runtime, T: Manager<R>> AndroidFsExt<R> for T