pub enum GattEvent<'stack, 'server> {
Read(ReadEvent<'stack, 'server>),
Write(WriteEvent<'stack, 'server>),
}
Expand description
An event returned while processing GATT requests.
Variants§
Read(ReadEvent<'stack, 'server>)
A characteristic was read.
Write(WriteEvent<'stack, 'server>)
A characteristic was written.
Implementations§
Auto Trait Implementations§
impl<'stack, 'server> Freeze for GattEvent<'stack, 'server>
impl<'stack, 'server> !RefUnwindSafe for GattEvent<'stack, 'server>
impl<'stack, 'server> !Send for GattEvent<'stack, 'server>
impl<'stack, 'server> !Sync for GattEvent<'stack, 'server>
impl<'stack, 'server> Unpin for GattEvent<'stack, 'server>
impl<'stack, 'server> !UnwindSafe for GattEvent<'stack, 'server>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more