pub struct Characteristic { /* private fields */ }Implementations§
Source§impl Characteristic
impl Characteristic
pub fn uuid(&self) -> String
pub fn descriptors(&self) -> Vec<Descriptor>
pub fn capabilities(&self) -> Vec<CharacteristicCapability>
pub fn can_read(&self) -> bool
pub fn can_write_request(&self) -> bool
pub fn can_write_command(&self) -> bool
pub fn can_notify(&self) -> bool
pub fn can_indicate(&self) -> bool
Trait Implementations§
Source§impl Clone for Characteristic
impl Clone for Characteristic
Source§fn clone(&self) -> Characteristic
fn clone(&self) -> Characteristic
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl From<Pin<Box<InnerCharacteristic>>> for Characteristic
impl From<Pin<Box<InnerCharacteristic>>> for Characteristic
impl Send for Characteristic
impl Sync for Characteristic
Auto Trait Implementations§
impl Freeze for Characteristic
impl RefUnwindSafe for Characteristic
impl Unpin for Characteristic
impl UnwindSafe for Characteristic
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more