pub async fn init(&self) -> Result<Value, Error> {
        match connect_to_service::<CameraFactoryMarker>() {
            Ok(r) => {
                *self.camera_factory_svc.write() = Some(r);
                Ok(to_value(())?)
            }
            Err(err) => fx_err_and_bail!(
                &with_line!("CameraFactoryFacade::init"),
                format_err!("SL4F Error: Failed to connect to service {}.", err)
            ),
        }
    }
/// Connect to the Camera Factory FIDL service.
Connect to the Camera Factory FIDL service.
Connect to the Camera Factory FIDL service .
pub async fn init(&self) -> Result<Value, Error> {
        match connect_to_service::<CameraFactoryMarker>() {
            Ok(r) => {
                *self.camera_factory_svc.write() = Some(r);
                Ok(to_value(())?)
            }
            Err(err) => fx_err_and_bail!(
                &with_line!("CameraFactoryFacade::init"),
                format_err!("SL4F Error: Failed to connect to service {}.", err)
            ),
        }
    }
pub async fn init ( & self ) -> Result < Value , Error > { match connect_to_service :: < CameraFactoryMarker > ( ) { Ok ( r ) => { * self . camera_factory_svc . write ( ) = Some ( r ) ; Ok ( to_value ( ( ) ) ? ) } Err ( err ) => fx_err_and_bail ! ( with_line ( " " ) format_err ( " " err ) ) , } }
Connect to the Camera Factory FIDL service.
Connect to the Camera Factory FIDL service .
&self