pub trait NameRecordExt: Sized {
// Required method
fn new(
name: impl Into<String>,
microvm_id: impl Into<String>,
endpoint: impl Into<String>,
agent_token: impl Into<String>,
region: impl Into<String>,
) -> Result<Self, Error>;
}Expand description
NameRecord’s timestamp.
Required Methods§
Sourcefn new(
name: impl Into<String>,
microvm_id: impl Into<String>,
endpoint: impl Into<String>,
agent_token: impl Into<String>,
region: impl Into<String>,
) -> Result<Self, Error>
fn new( name: impl Into<String>, microvm_id: impl Into<String>, endpoint: impl Into<String>, agent_token: impl Into<String>, region: impl Into<String>, ) -> Result<Self, Error>
A record for a VM this process can already address, stamped with the current time.
Refuses an illegal name or an empty id, endpoint, or token: a record missing any of them resolves to a VM nobody can adopt.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".