[][src]Struct core_bluetooth::central::characteristic::Properties

pub struct 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]

impl Copy for Properties[src]

impl Debug for Properties[src]

impl Eq for Properties[src]

impl Hash for Properties[src]

impl PartialEq<Properties> for Properties[src]

impl StructuralEq for Properties[src]

impl StructuralPartialEq for Properties[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.