Trait AdbPush

Source
pub trait AdbPush {
    // Required methods
    fn push_reader<R: Read + Seek>(
        &mut self,
        r: R,
        remote_path: &str,
    ) -> AdbResult<()>;
    fn push<P: AsRef<Path>>(
        &mut self,
        local_path: P,
        remote_path: &str,
    ) -> AdbResult<()>;
}

Required Methods§

Source

fn push_reader<R: Read + Seek>( &mut self, r: R, remote_path: &str, ) -> AdbResult<()>

Source

fn push<P: AsRef<Path>>( &mut self, local_path: P, remote_path: &str, ) -> AdbResult<()>

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§