[−][src]Trait hciraw::addr::ToHciSocketAddr
A trait for objects that can be converted to HciSocketAddr.
This trait is used when constructing HCI raw sockets. By default it is implemented for the following types:
- [
SockeAddr
]: [to_socket_addr
] is the identity function.
Required methods
fn to_socket_addr(&self) -> HciSocketAddr
Converts this object to a resolved HciSocketAddr.