pub struct Config<'d> {
pub max_packet_size_event: u16,
pub poll_interval_ms: u8,
pub interface_name: Option<&'d str>,
pub acl_out_endpoint_options: EndpointOptions,
pub acl_in_endpoint_options: EndpointOptions,
}Expand description
Configuration for the Bluetooth HCI device class.
Fields§
§max_packet_size_event: u16Maximum packet size for HCI event interrupt endpoint (typically 16 or 64).
poll_interval_ms: u8Polling interval for HCI event interrupt endpoint in milliseconds (typically 1 ms).
interface_name: Option<&'d str>Optional interface string description.
acl_out_endpoint_options: EndpointOptionsOptions for the ACL data bulk OUT endpoint, which receives the data the host sends.
acl_in_endpoint_options: EndpointOptionsOptions for the ACL data bulk IN endpoint, which sends data to the host.
Trait Implementations§
impl<'d> Eq for Config<'d>
impl<'d> StructuralPartialEq for Config<'d>
Auto Trait Implementations§
impl<'d> Forget for Config<'d>
impl<'d> Freeze for Config<'d>
impl<'d> Move for Config<'d>
impl<'d> RefUnwindSafe for Config<'d>
impl<'d> Send for Config<'d>
impl<'d> Sync for Config<'d>
impl<'d> Unpin for Config<'d>
impl<'d> UnsafeUnpin for Config<'d>
impl<'d> UnwindSafe for Config<'d>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more