Trait bluer::UuidExt[][src]

pub trait UuidExt {
    fn as_u32(&self) -> Option<u32>;
fn as_u16(&self) -> Option<u16>;
fn from_u32(v: u32) -> Uuid;
fn from_u16(v: u16) -> Uuid; }
Expand description

UUID extension trait to convert to and from Bluetooth short UUIDs.

Required methods

32-bit short form of Bluetooth UUID.

16-bit short form of Bluetooth UUID.

Long form of 32-bit short form Bluetooth UUID.

Long form of 16-bit short form Bluetooth UUID.

Implementors