#[cfg(feature = "async")]
pub mod async_ansible;
#[cfg(feature = "async")]
pub mod async_playbook;
#[cfg(feature = "async")]
pub mod async_vault;
#[cfg(feature = "async")]
pub mod async_config;
#[cfg(feature = "async")]
pub mod async_inventory;
#[cfg(feature = "async")]
pub use async_ansible::AsyncAnsible;
#[cfg(feature = "async")]
pub use async_playbook::{AsyncPlaybook, AsyncPlay};
#[cfg(feature = "async")]
pub use async_vault::AsyncAnsibleVault;
#[cfg(feature = "async")]
pub use async_config::AsyncAnsibleConfig;
#[cfg(feature = "async")]
pub use async_inventory::AsyncAnsibleInventory;
#[cfg(feature = "async")]
pub type AsyncResult<T> = Result<T, crate::AnsibleError>;
#[cfg(feature = "async")]
pub trait AsyncExecute {
async fn execute_async(&self) -> AsyncResult<String>;
}
#[cfg(feature = "async")]
pub trait IntoAsync<T> {
fn into_async(self) -> T;
}
#[cfg(feature = "async")]
pub trait FromAsync<T> {
fn from_async(async_type: T) -> Self;
}