// This file is part of security-keys-rust. It is subject to the license terms in the COPYRIGHT file found in the top-level directory of this distribution and at https://raw.githubusercontent.com/lemonrock/security-keys-rust/master/COPYRIGHT. No part of security-keys-rust, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the COPYRIGHT file.
// Copyright © 2021 The developers of security-keys-rust. See the COPYRIGHT file in the top-level directory of this distribution and at https://raw.githubusercontent.com/lemonrock/security-keys-rust/master/COPYRIGHT.


#[allow(dead_code)]
#[inline(always)]
fn get_human_interface_device_physical_interface_descriptor(device_handle: NonNull<libusb_device_handle>, descriptor_index: Option<NonZeroU8>, interface_number: InterfaceNumber, buffer: &mut [MaybeUninit<u8>]) -> Result<DeadOrAlive<Option<&[u8]>>, GetDescriptorError>
{
	get_standard_interface_descriptor(device_handle, LIBUSB_DT_PHYSICAL, unsafe { transmute(descriptor_index) }, interface_number, buffer)
}
