Home
last modified time | relevance | path

Searched refs:AttRequestState (Results 1 – 1 of 1) sorted by relevance

/packages/modules/Bluetooth/system/rust/src/gatt/server/
Datt_server_bearer.rs35 enum AttRequestState<T: AttDatabase> { enum
59 curr_request: Cell<AttRequestState<T>>,
81 curr_request: AttRequestState::Idle(AttRequestHandler::new(db.clone())).into(), in new()
157 let curr_request = self.curr_request.replace(AttRequestState::Replacing); in handle_request()
159 AttRequestState::Idle(mut request_handler) => { in handle_request()
187 this.curr_request.replace(AttRequestState::Idle(request_handler)); in handle_request()
191 AttRequestState::Pending { _task: task.into() } in handle_request()
193 AttRequestState::Pending { .. } => { in handle_request()
198 AttRequestState::Replacing => { in handle_request()