[−][src]Struct core_bluetooth::central::characteristic::Properties
Properties of a characteristic.
Implementations
impl Properties
[src]
pub fn can_broadcast(&self) -> bool
[src]
Characteristic can broadcast its value using a characteristic configuration descriptor.
pub fn can_read(&self) -> bool
[src]
A peripheral can read the characteristic’s value.
pub fn can_write_without_response(&self) -> bool
[src]
A peripheral can write the characteristic’s value, without a response to indicate that the write succeeded.
pub fn can_write(&self) -> bool
[src]
A peripheral can write the characteristic’s value, with a response to indicate that the write succeeded.
pub fn can_notify(&self) -> bool
[src]
The peripheral permits notifications of the characteristic’s value, without a response from the central to indicate receipt of the notification.
pub fn can_indicate(&self) -> bool
[src]
The peripheral permits notifications of the characteristic’s value, with a response from the central to indicate receipt of the notification.
pub fn supports_authenticated_signed_writes(&self) -> bool
[src]
The peripheral allows signed writes of the characteristic’s value, without a response to indicate the write succeeded.
pub fn has_extended_properties(&self) -> bool
[src]
The characteristic defines additional properties in the extended properties descriptor.
pub fn is_notify_encryption_required(&self) -> bool
[src]
Whether only trusted devices can enable notifications of the characteristic’s value.
pub fn is_indicate_encryption_required(&self) -> bool
[src]
Whether only trusted devices can enable indications of the characteristic’s value.
Trait Implementations
impl Clone for Properties
[src]
fn clone(&self) -> Properties
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Properties
[src]
impl Debug for Properties
[src]
impl Eq for Properties
[src]
impl Hash for Properties
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Properties> for Properties
[src]
fn eq(&self, other: &Properties) -> bool
[src]
fn ne(&self, other: &Properties) -> bool
[src]
impl StructuralEq for Properties
[src]
impl StructuralPartialEq for Properties
[src]
Auto Trait Implementations
impl RefUnwindSafe for Properties
impl Send for Properties
impl Sync for Properties
impl Unpin for Properties
impl UnwindSafe for Properties
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,