Crate fuchsia_bluetooth

Source
Expand description

Utilities for Bluetooth development.

Re-exports§

pub use error::Error;

Modules§

assigned_numbers
Lists of Bluetooth SIG assigned numbers and conversion functions
constants
detachable_map
The DetachableMap type
error
Bluetooth Error type
expectation
Tools for writing asynchronous expectations in tests
inspect
Extension traits and functions for interfacing with the Inspect API
profile
Convenience functions and types for working with the BR/EDR Profile API
types
Common Bluetooth type extensions
util
Frequently Used Functions

Macros§

assert_satisfies
A simple macro to allow idiomatic assertion of predicates, producing well formatted falsifications if the predicate fails.
assigned_number
bt_fidl_status
Macro to help build bluetooth fidl statuses. No Args is a success One Arg is the error type Two Args is the error type & a description
expect_eq
over
A macro for allowing more ergonomic projection of predicates ‘over’ some projection function that focuses on a subset of a data type.