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