async fn expect_focus_ctl_focus_change(
        mut request_stream: fidl_focus::ControllerRequestStream,
    ) -> fidl_ui_views::ViewRef {
        match request_stream.next().await {
            Some(Ok(fidl_focus::ControllerRequest::Notify { view_ref, responder, .. })) => {
                let _ = responder.send();
                view_ref
            }
            _ => panic!("Error expecting text_manager focus change."),
        }
    }
/// Listens for a ViewRef from a view focus change request on `request_stream`.
///
/// # Parameters
/// `request_stream`: A channel where ViewFocusChanged requests are received.
///
/// # Returns
/// The ViewRef of the focused view.
Listens for a ViewRef from a view focus change request on `request_stream`.
Listens for a ViewRef from a view focus change request on ` request_stream ` .
async fn expect_focus_ctl_focus_change(
        mut request_stream: fidl_focus::ControllerRequestStream,
    ) -> fidl_ui_views::ViewRef {
        match request_stream.next().await {
            Some(Ok(fidl_focus::ControllerRequest::Notify { view_ref, responder, .. })) => {
                let _ = responder.send();
                view_ref
            }
            _ => panic!("Error expecting text_manager focus change."),
        }
    }
async fn expect_focus_ctl_focus_change ( mut request_stream : fidl_focus :: ControllerRequestStream , ) -> fidl_ui_views :: ViewRef { match request_stream . next ( ) . await { Some ( Ok ( fidl_focus :: ControllerRequest :: Notify { view_ref , responder , .. } ) ) => { let _ = responder . send ( ) ; view_ref } _ => panic ! ( " " ) , } }
Listens for a ViewRef from a view focus change request on `request_stream`.
Listens for a ViewRef from a view focus change request on ` request_stream ` .
request_stream
fidl_focus::ControllerRequestStream
The ViewRef of the focused view.
The ViewRef of the focused view .
request_stream
fidl_focus::ControllerRequestStream