pub fn download<T: Media>(&mut self, context: &mut Context, source: &CameraFile, destination: &mut T) -> ::Result<()> {
        try_unsafe! {
            ::gphoto2::gp_camera_file_get(self.camera,
                                          source.inner.folder.as_ptr(),
                                          source.inner.name.as_ptr(),
                                          ::gphoto2::GP_FILE_TYPE_NORMAL,
                                          destination.as_mut_ptr(),
                                          context.as_mut_ptr())
        };

        Ok(())
    }
/// Downloads a file from the camera.
Downloads a file from the camera.
Downloads a file from the camera .
pub fn download<T: Media>(&mut self, context: &mut Context, source: &CameraFile, destination: &mut T) -> ::Result<()> {
        try_unsafe! {
            ::gphoto2::gp_camera_file_get(self.camera,
                                          source.inner.folder.as_ptr(),
                                          source.inner.name.as_ptr(),
                                          ::gphoto2::GP_FILE_TYPE_NORMAL,
                                          destination.as_mut_ptr(),
                                          context.as_mut_ptr())
        };
        Ok(())
    }
pub fn download < T : Media > ( & mut self , context : & mut Context , source : & CameraFile , destination : & mut T ) -> :: Result < ( ) > { try_unsafe ! { gphoto2 gp_camera_file_get ( self camera source inner folder as_ptr ( ) source inner name as_ptr ( ) gphoto2 GP_FILE_TYPE_NORMAL destination as_mut_ptr ( ) context as_mut_ptr ( ) ) } ; Ok ( ( ) ) }
Downloads a file from the camera.
Downloads a file from the camera .
&mut self
context
&mut Context
source
&CameraFile
destination
&mut T
&mut self
context
&mut Context
source
&CameraFile
destination
&mut T