pub fn port<'a>(&'a self) -> Port<'a> {
        let mut ptr = unsafe { MaybeUninit::uninit().assume_init() };

        unsafe {
            assert_eq!(::gphoto2::GP_OK, ::gphoto2::gp_camera_get_port_info(self.camera, &mut ptr));
        }

        ::port::from_libgphoto2(self, ptr)
    }
/// Returns information about the port the camera is connected to.
Returns information about the port the camera is connected to.
Returns information about the port the camera is connected to .
pub fn port<'a>(&'a self) -> Port<'a> {
        let mut ptr = unsafe { MaybeUninit::uninit().assume_init() };
        unsafe {
            assert_eq!(::gphoto2::GP_OK, ::gphoto2::gp_camera_get_port_info(self.camera, &mut ptr));
        }
        ::port::from_libgphoto2(self, ptr)
    }
pub fn port < ' a > ( & ' a self ) -> Port < ' a > { let mut ptr = unsafe { MaybeUninit :: uninit ( ) . assume_init ( ) } ; unsafe { assert_eq ! ( gphoto2 GP_OK gphoto2 gp_camera_get_port_info ( self camera mut ptr ) ) ; } :: port :: from_libgphoto2 ( self , ptr ) }
Returns information about the port the camera is connected to.
Returns information about the port the camera is connected to .
&'a self
&'a self