pub enum Request {
Read(ReadRequest),
Write(WriteRequest),
Subscribed {
central: RemoteCentral,
characteristic: BluetoothUuid,
},
Unsubscribed {
central: RemoteCentral,
characteristic: BluetoothUuid,
},
ReadyToNotify,
ChannelOpened(L2capChannel),
}Expand description
Something a connected central did.
Variants§
Read(ReadRequest)
Write(WriteRequest)
Subscribed
A central subscribed — start sending it notifications.
Unsubscribed
ReadyToNotify
The previous notification was delivered and another may be sent.
ChannelOpened(L2capChannel)
A central opened an L2CAP channel to a published PSM.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Request
impl Forget for Request
impl Move for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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