Trait BluetoothRemoteGATTServerMethods
Source pub trait BluetoothRemoteGATTServerMethods<D>{
// Required methods
fn Device(&self) -> Root<Dom<<D as DomTypes>::BluetoothDevice>>;
fn Connected(&self) -> bool;
fn Connect(
&self,
realm: &mut CurrentRealm<'_>,
) -> Rc<<D as DomTypes>::Promise>;
fn Disconnect(&self, cx: &mut JSContext) -> Result<(), Error>;
fn GetPrimaryService(
&self,
realm: &mut CurrentRealm<'_>,
service: StringOrUnsignedLong,
) -> Rc<<D as DomTypes>::Promise>;
fn GetPrimaryServices(
&self,
realm: &mut CurrentRealm<'_>,
service: Option<StringOrUnsignedLong>,
) -> Rc<<D as DomTypes>::Promise>;
}