async fn wait_ownership_change<'a, T: AsHandleRef>(
        &self,
        event: &'a T,
    ) -> Result<Signals, Status> {
        OnSignals::new(event, self.next_signal()).await
    }
/// Waits for the next signal change.
///
/// If the display is owned, it will wait for display to become unowned.
/// If the display is unowned, it will wait for the display to become owned.
Waits for the next signal change.
If the display is owned, it will wait for display to become unowned.
If the display is unowned, it will wait for the display to become owned.
Waits for the next signal change . If the display is owned it will wait for display to become unowned . If the display is unowned it will wait for the display to become owned .
async fn wait_ownership_change<'a, T: AsHandleRef>(
        &self,
        event: &'a T,
    ) -> Result<Signals, Status> {
        OnSignals::new(event, self.next_signal()).await
    }
async fn wait_ownership_change < ' a , T : AsHandleRef > ( & self , event : & ' a T , ) -> Result < Signals , Status > { OnSignals :: new ( event , self . next_signal ( ) ) . await }
Waits for the next signal change.
Waits for the next signal change .
&self
event
&'a T
&self
event
&'a T