Searched refs:ConnectionFailure (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Bluetooth/system/rust/src/connection/ |
D | attempt_manager.rs | 11 le_manager::ErrorCode, CancelConnectFailure, ConnectionFailure, ConnectionManagerClient, 51 F: Future<Output = Result<LeConnection, ConnectionFailure>>, 87 PendingConnectionAttempt<impl Future<Output = Result<LeConnection, ConnectionFailure>>>, in register_direct_connection() argument 104 .map_err(|_| ConnectionFailure::Cancelled)? in register_direct_connection() 105 .map_err(ConnectionFailure::Error) in register_direct_connection() 244 assert_eq!(resp, Err(ConnectionFailure::Cancelled)); in test_cancel_direct_connection() 370 assert_eq!(pending_conn.await, Err(ConnectionFailure::Error(ErrorCode(1)))); in test_failed_direct_connection() 470 assert_eq!(pending_conn_1.await, Err(ConnectionFailure::Cancelled)); in test_remove_unconditionally() 493 assert_eq!(pending_conn_1.await, Err(ConnectionFailure::Cancelled)); in test_remove_client()
|
/packages/modules/Bluetooth/system/rust/src/ |
D | connection.rs | 46 pub enum ConnectionFailure { enum 162 impl Future<Output = Result<LeConnection, ConnectionFailure>>, in direct_connection() argument
|