Struct rustable::gatt::server::Characteristic [−][src]
pub struct Characteristic { /* fields omitted */ }
Implementations
Removes all of the Descriptor
s in the service and returns then in an iterator.
Even if not all of the Characteristic
s are not consumed, they are still removed.
pub fn set_write_cb<C: FnMut(AttValue) -> (Option<ValOrFn>, bool) + Send + Sync + 'static>(
&mut self,
cb: C
)
pub fn set_notify_cb<C>(&mut self, cb: C) where
C: FnMut() -> Pin<Box<dyn Future<Output = ShouldNotify> + Send>> + Send + Sync + 'static,
Auto Trait Implementations
impl !RefUnwindSafe for Characteristic
impl Send for Characteristic
impl Sync for Characteristic
impl Unpin for Characteristic
impl !UnwindSafe for Characteristic