Struct blurz::bluetooth_gatt_descriptor::BluetoothGATTDescriptor
[−]
[src]
pub struct BluetoothGATTDescriptor { /* fields omitted */ }
Methods
impl BluetoothGATTDescriptor
[src]
fn new(object_path: String) -> BluetoothGATTDescriptor
[src]
fn get_id(&self) -> String
[src]
fn get_uuid(&self) -> Result<String, Box<Error>>
[src]
fn get_characteristic(&self) -> Result<String, Box<Error>>
[src]
fn get_value(&self) -> Result<Vec<u8>, Box<Error>>
[src]
fn get_flags(&self) -> Result<Vec<String>, Box<Error>>
[src]
fn read_value(&self, offset: Option<u16>) -> Result<Vec<u8>, Box<Error>>
[src]
fn write_value(
&self,
values: Vec<u8>,
offset: Option<u16>
) -> Result<(), Box<Error>>
[src]
&self,
values: Vec<u8>,
offset: Option<u16>
) -> Result<(), Box<Error>>
Trait Implementations
impl Clone for BluetoothGATTDescriptor
[src]
fn clone(&self) -> BluetoothGATTDescriptor
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more