Struct esp32_nimble::BLERemoteDescriptor
source · pub struct BLERemoteDescriptor { /* private fields */ }
Implementations§
source§impl BLERemoteDescriptor
impl BLERemoteDescriptor
pub fn uuid(&self) -> BleUuid
pub async fn read_value(&mut self) -> Result<Vec<u8>, BLEError>
pub async fn write_value( &mut self, data: &[u8], response: bool, ) -> Result<(), BLEError>
Trait Implementations§
source§impl Clone for BLERemoteDescriptor
impl Clone for BLERemoteDescriptor
source§fn clone(&self) -> BLERemoteDescriptor
fn clone(&self) -> BLERemoteDescriptor
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for BLERemoteDescriptor
impl !RefUnwindSafe for BLERemoteDescriptor
impl !Send for BLERemoteDescriptor
impl !Sync for BLERemoteDescriptor
impl Unpin for BLERemoteDescriptor
impl !UnwindSafe for BLERemoteDescriptor
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
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)