pub struct HciUsbTransport {
pub device_addr: u8,
pub cmd_endpoint: u8,
pub evt_endpoint: u8,
pub acl_tx_endpoint: u8,
pub acl_rx_endpoint: u8,
pub intr_endpoint: u8,
pub active: bool,
}Expand description
USB HCI transport endpoint configuration
Fields§
§device_addr: u8USB device address
cmd_endpoint: u8Bulk OUT endpoint for HCI commands
evt_endpoint: u8Bulk IN endpoint for HCI events
acl_tx_endpoint: u8Bulk OUT endpoint for ACL data TX
acl_rx_endpoint: u8Bulk IN endpoint for ACL data RX
intr_endpoint: u8Interrupt IN endpoint for events (alternative)
active: boolWhether the transport is active
Implementations§
Trait Implementations§
Source§impl Clone for HciUsbTransport
impl Clone for HciUsbTransport
Source§fn clone(&self) -> HciUsbTransport
fn clone(&self) -> HciUsbTransport
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HciUsbTransport
impl Debug for HciUsbTransport
Source§impl Default for HciUsbTransport
impl Default for HciUsbTransport
impl Copy for HciUsbTransport
Auto Trait Implementations§
impl Freeze for HciUsbTransport
impl RefUnwindSafe for HciUsbTransport
impl Send for HciUsbTransport
impl Sync for HciUsbTransport
impl Unpin for HciUsbTransport
impl UnwindSafe for HciUsbTransport
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)