Skip to main content

CopyIntoBackend

Trait CopyIntoBackend 

Source
pub trait CopyIntoBackend<Dst: Backend, Src: Backend>: HasBackend<Backend = Src> {
    type Output: HasBackend<Backend = Dst>;

    // Required method
    fn copy_into_backend(self, backend: &Dst) -> Result<Self::Output, CopyError>;
}
Expand description

Copy data between different backends

Required Associated Types§

Source

type Output: HasBackend<Backend = Dst>

Required Methods§

Source

fn copy_into_backend(self, backend: &Dst) -> Result<Self::Output, CopyError>

Implementors§

Source§

impl<T, A> CopyIntoBackend<A, A> for T
where A: Backend, T: HasBackend<Backend = A> + Send + Sync,