pub struct HivelocityDeployer { /* private fields */ }Implementations§
Source§impl HivelocityDeployer
impl HivelocityDeployer
pub fn new(api_key: String, hardware: HivelocityHardware) -> Self
Trait Implementations§
Source§impl XnodeDeployer for HivelocityDeployer
impl XnodeDeployer for HivelocityDeployer
type ProviderOutput = HivelocityOutput
Source§async fn deploy(
&self,
input: DeployInput,
) -> Result<DeployOutput<Self::ProviderOutput>, Error>
async fn deploy( &self, input: DeployInput, ) -> Result<DeployOutput<Self::ProviderOutput>, Error>
Provision new hardware with XnodeOS
Source§async fn undeploy(
&self,
xnode: DeployOutput<Self::ProviderOutput>,
) -> Option<Error>
async fn undeploy( &self, xnode: DeployOutput<Self::ProviderOutput>, ) -> Option<Error>
Cancel renting of hardware
Auto Trait Implementations§
impl Freeze for HivelocityDeployer
impl !RefUnwindSafe for HivelocityDeployer
impl Send for HivelocityDeployer
impl Sync for HivelocityDeployer
impl Unpin for HivelocityDeployer
impl !UnwindSafe for HivelocityDeployer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more