Skip to main content

FilesMode

Trait FilesMode 

Source
pub trait FilesMode: Mode {
    type Uploads: Send + Sync + 'static;
}
Expand description

What a handle’s mode adds to its file owner: the writer’s upload settings, which the upload runs and the app’s setting changes use, and nothing for a read-only handle, which runs no upload. Sealed with Mode.

Required Associated Types§

Source

type Uploads: Send + Sync + 'static

The mode’s upload state, beside what every file read uses.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§