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