pub struct BLEService { /* private fields */ }Implementations§
Source§impl BLEService
impl BLEService
pub fn uuid(&self) -> BleUuid
pub fn create_characteristic( &mut self, uuid: BleUuid, properties: NimbleProperties, ) -> Arc<Mutex<BLECharacteristic>>
Sourcepub async fn get_characteristic(
&self,
uuid: BleUuid,
) -> Option<&Arc<Mutex<BLECharacteristic>>>
pub async fn get_characteristic( &self, uuid: BleUuid, ) -> Option<&Arc<Mutex<BLECharacteristic>>>
Get the characteristic object for the UUID.
Trait Implementations§
impl Send for BLEService
Auto Trait Implementations§
impl Freeze for BLEService
impl !RefUnwindSafe for BLEService
impl !Sync for BLEService
impl Unpin for BLEService
impl UnsafeUnpin for BLEService
impl !UnwindSafe for BLEService
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more