Trait wait_on::Waitable

source ·
pub trait Waitable {
    // Required method
    async fn wait(self, options: WaitOptions) -> Result<()>;
}
Expand description

A Waitable is an resource that can be waited on.

Every [Resource] must implement this trait.

§Should not be implemented by the user

This trait should not be implemented by the user, instead, it should be implemented by the [Resource] enum variants in the lib scope.

Required Methods§

source

async fn wait(self, options: WaitOptions) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§