pub trait AgentVmExt: Sized {
// Required methods
fn from_name(
store: &dyn NameStore,
specs: Vec<AgentSpec>,
name: &str,
region: Option<Region>,
port: Option<u16>,
) -> impl Future<Output = Result<Self, Error>> + Send;
fn adopt_in(
region: Region,
specs: Vec<AgentSpec>,
microvm_id: impl Into<String>,
endpoint: impl Into<String>,
agent_token: impl Into<String>,
port: Option<u16>,
) -> impl Future<Output = Result<Self, Error>> + Send;
}Expand description
AgentVm’s constructors that resolve credentials for a region.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".