pub async fn wait_until_type<T: Invocation>(&self) -> Result<T, Error> {
        loop {
            let invocation = self.next().await?;
            if let Ok(invocation) = T::from_fidl(invocation) {
                return Ok(invocation);
            }
        }
    }
/// Waits for an invocation of a particular type.
/// Implicitly resumes all other invocations.
/// Returns the casted type if successful and an error otherwise.
Waits for an invocation of a particular type.
Implicitly resumes all other invocations.
Returns the casted type if successful and an error otherwise.
Waits for an invocation of a particular type . Implicitly resumes all other invocations . Returns the casted type if successful and an error otherwise .
pub async fn wait_until_type<T: Invocation>(&self) -> Result<T, Error> {
        loop {
            let invocation = self.next().await?;
            if let Ok(invocation) = T::from_fidl(invocation) {
                return Ok(invocation);
            }
        }
    }
pub async fn wait_until_type < T : Invocation > ( & self ) -> Result < T , Error > { loop { let invocation = self . next ( ) . await ? ; if let Ok ( invocation ) = T :: from_fidl ( invocation ) { return Ok ( invocation ) ; } } }
Waits for an invocation of a particular type.
Waits for an invocation of a particular type .
&self