pub struct BluetoothGATTService<'a> { /* private fields */ }
Implementations
sourceimpl<'a> BluetoothGATTService<'a>
impl<'a> BluetoothGATTService<'a>
pub fn new(
session: &'a BluetoothSession,
object_path: String
) -> BluetoothGATTService<'_>
pub fn get_id(&self) -> String
pub fn get_uuid(&self) -> Result<String, Box<dyn Error>>
pub fn is_primary(&self) -> Result<bool, Box<dyn Error>>
pub fn get_device(&self) -> Result<String, Box<dyn Error>>
pub fn get_includes(&self) -> Result<Vec<String>, Box<dyn Error>>
pub fn get_gatt_characteristics(&self) -> Result<Vec<String>, Box<dyn Error>>
Trait Implementations
sourceimpl<'a> Clone for BluetoothGATTService<'a>
impl<'a> Clone for BluetoothGATTService<'a>
sourcefn clone(&self) -> BluetoothGATTService<'a>
fn clone(&self) -> BluetoothGATTService<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl<'a> !RefUnwindSafe for BluetoothGATTService<'a>
impl<'a> !Send for BluetoothGATTService<'a>
impl<'a> !Sync for BluetoothGATTService<'a>
impl<'a> Unpin for BluetoothGATTService<'a>
impl<'a> !UnwindSafe for BluetoothGATTService<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more