pub enum Protocol {
BleGatt,
Classic,
Rfcomm,
ClassicL2cap,
L2cap,
Sdp,
Profiles,
Mesh,
RawAcl,
RawSco,
LeAudio,
}Expand description
A protocol family that can be queried from ProtocolCapabilities.
Variants§
BleGatt
Bluetooth Low Energy GATT client/server operations.
Classic
Bluetooth Classic BR/EDR transport.
Rfcomm
RFCOMM byte streams.
ClassicL2cap
Bluetooth Classic L2CAP channels.
L2cap
BLE/Classic L2CAP exposed by the public transport layer.
Sdp
SDP service discovery.
Profiles
Profile implementations such as A2DP, AVRCP, HFP, HID, and PAN.
Mesh
Bluetooth Mesh.
RawAcl
Raw ACL packet transport.
RawSco
Raw SCO/eSCO packet transport.
LeAudio
LE Isochronous Channels and LE Audio.
Trait Implementations§
impl Copy for Protocol
impl Eq for Protocol
impl StructuralPartialEq for Protocol
Auto Trait Implementations§
impl Freeze for Protocol
impl RefUnwindSafe for Protocol
impl Send for Protocol
impl Sync for Protocol
impl Unpin for Protocol
impl UnsafeUnpin for Protocol
impl UnwindSafe for Protocol
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