pub trait BluetoothRemoteGATTDescriptorMethods<D: DomTypes> {
// Required methods
fn Characteristic(&self) -> DomRoot<D::BluetoothRemoteGATTCharacteristic>;
fn Uuid(&self) -> DOMString;
fn GetValue(&self) -> Option<ByteString>;
fn ReadValue(
&self,
realm: &mut CurrentRealm<'_>,
) -> <D::Promise as PromiseHelpers<D>>::StackRoot;
fn WriteValue(
&self,
realm: &mut CurrentRealm<'_>,
value: ArrayBufferViewOrArrayBuffer,
) -> <D::Promise as PromiseHelpers<D>>::StackRoot;
}Required Methods§
fn Characteristic(&self) -> DomRoot<D::BluetoothRemoteGATTCharacteristic>
fn Uuid(&self) -> DOMString
fn GetValue(&self) -> Option<ByteString>
fn ReadValue( &self, realm: &mut CurrentRealm<'_>, ) -> <D::Promise as PromiseHelpers<D>>::StackRoot
fn WriteValue( &self, realm: &mut CurrentRealm<'_>, value: ArrayBufferViewOrArrayBuffer, ) -> <D::Promise as PromiseHelpers<D>>::StackRoot
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".