Struct rustable::gatt::client::Characteristic [−][src]
pub struct Characteristic { /* fields omitted */ }
Implementations
pub async fn read_value(
&self,
offset: u16
) -> Result<impl Future<Output = Result<AttValue, Error>> + '_, Error>
pub async fn write_value(
&self,
value: &AttValue,
offset: u16
) -> Result<impl Future<Output = Result<(), Error>> + '_, Error>
pub async fn write_value_wo_response(
&self,
value: &AttValue,
offset: u16
) -> Result<impl Future<Output = Result<(), Error>> + '_, Error>
pub async fn acquire_notify(
&self
) -> Result<impl Future<Output = Result<NotifySocket, Error>> + '_, Error>
pub async fn acquire_write(
&self
) -> Result<impl Future<Output = Result<WriteSocket, Error>> + '_, Error>
Auto Trait Implementations
impl !RefUnwindSafe for Characteristic
impl Send for Characteristic
impl Sync for Characteristic
impl Unpin for Characteristic
impl !UnwindSafe for Characteristic