pub struct CharacteristicPropertiesBuilder { /* private fields */ }Expand description
Builder for CharacteristicProperties.
Implementations§
Source§impl CharacteristicPropertiesBuilder
impl CharacteristicPropertiesBuilder
pub fn broadcast<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn read<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn write_without_response<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
pub fn write<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn notify<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn indicate<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn authenticated_signed_writes<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
pub fn extended_properties<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<CharacteristicProperties, CharacteristicPropertiesBuilderError>
pub fn build( &self, ) -> Result<CharacteristicProperties, CharacteristicPropertiesBuilderError>
Trait Implementations§
Source§impl Clone for CharacteristicPropertiesBuilder
impl Clone for CharacteristicPropertiesBuilder
Source§fn clone(&self) -> CharacteristicPropertiesBuilder
fn clone(&self) -> CharacteristicPropertiesBuilder
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 moreAuto Trait Implementations§
impl Freeze for CharacteristicPropertiesBuilder
impl RefUnwindSafe for CharacteristicPropertiesBuilder
impl Send for CharacteristicPropertiesBuilder
impl Sync for CharacteristicPropertiesBuilder
impl Unpin for CharacteristicPropertiesBuilder
impl UnsafeUnpin for CharacteristicPropertiesBuilder
impl UnwindSafe for CharacteristicPropertiesBuilder
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