Skip to main content

DeviceUpload

Trait DeviceUpload 

Source
pub trait DeviceUpload<B: Backend>:
    'static
    + Send
    + Sync
    + Sized {
    type Source: 'static + Send + Sync;

    // Required method
    fn upload(source: &Self::Source, backend: &B) -> Self;
}

Required Associated Types§

Source

type Source: 'static + Send + Sync

Required Methods§

Source

fn upload(source: &Self::Source, backend: &B) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§