pub trait BluetoothAdvertisingEventMethods<D>where
D: DomTypes,{
// Required methods
fn Device(&self) -> Root<Dom<<D as DomTypes>::BluetoothDevice>>;
fn GetName(&self) -> Option<DOMString>;
fn GetAppearance(&self) -> Option<u16>;
fn GetTxPower(&self) -> Option<i8>;
fn GetRssi(&self) -> Option<i8>;
fn IsTrusted(&self) -> bool;
fn Constructor(
global: &<D as DomTypes>::Window,
proto: Option<Handle<'_, *mut JSObject>>,
can_gc: CanGc,
type_: DOMString,
init: &BluetoothAdvertisingEventInit<D>,
) -> Result<Root<Dom<<D as DomTypes>::BluetoothAdvertisingEvent>>, Error>;
}
Required Methods§
fn Device(&self) -> Root<Dom<<D as DomTypes>::BluetoothDevice>>
fn GetName(&self) -> Option<DOMString>
fn GetAppearance(&self) -> Option<u16>
fn GetTxPower(&self) -> Option<i8>
fn GetRssi(&self) -> Option<i8>
fn IsTrusted(&self) -> bool
fn Constructor( global: &<D as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, type_: DOMString, init: &BluetoothAdvertisingEventInit<D>, ) -> Result<Root<Dom<<D as DomTypes>::BluetoothAdvertisingEvent>>, Error>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.