Struct rustable::gatt::client::Characteristic[][src]

pub struct Characteristic { /* fields omitted */ }

Implementations

impl Characteristic[src]

pub fn uuid(&self) -> UUID[src]

pub async fn get_descriptors(&self) -> Result<Vec<Descriptor>, Error>[src]

pub async fn get_descriptor(
    &self,
    uuid: UUID
) -> Result<Option<Descriptor>, Error>
[src]

pub async fn read_value(
    &self,
    offset: u16
) -> Result<impl Future<Output = Result<AttValue, Error>> + '_, Error>
[src]

pub async fn write_value(
    &self,
    value: &AttValue,
    offset: u16
) -> Result<impl Future<Output = Result<(), Error>> + '_, Error>
[src]

pub async fn write_value_wo_response(
    &self,
    value: &AttValue,
    offset: u16
) -> Result<impl Future<Output = Result<(), Error>> + '_, Error>
[src]

pub async fn acquire_notify(
    &self
) -> Result<impl Future<Output = Result<NotifySocket, Error>> + '_, Error>
[src]

pub async fn acquire_write(
    &self
) -> Result<impl Future<Output = Result<WriteSocket, Error>> + '_, Error>
[src]

pub async fn flags(
    &self
) -> Result<impl Future<Output = Result<CharFlags, Error>> + '_, Error>
[src]

Auto Trait Implementations

impl !RefUnwindSafe for Characteristic

impl Send for Characteristic

impl Sync for Characteristic

impl Unpin for Characteristic

impl !UnwindSafe for Characteristic

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, 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.