[][src]Trait hciraw::addr::ToHciSocketAddr

pub trait ToHciSocketAddr {
    fn to_socket_addr(&self) -> HciSocketAddr;
}

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.

Loading content...

Implementors

impl ToHciSocketAddr for HciSocketAddr[src]

Loading content...