#[non_exhaustive]pub enum ResourceKind {
Vm,
Container,
Network,
Volume,
Hub,
Process,
Module,
HostKeys,
StateFiles,
Archive,
Consoles,
ToolProcess,
}Expand description
What a resource is. The provider kinds are manifest v2’s resources[].kind; the local ones
the runner’s own.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Vm
A virtual machine.
Container
A container.
Network
A network.
Volume
A volume.
Hub
A hub (a Docker host VM several runs share).
Process
A process a step leaves running.
Module
A Terraform module’s resources, as one.
HostKeys
The machines’ SSH host keys this computer trusts.
StateFiles
The files the run’s tools keep in its state folder.
Archive
The run’s outputs archive.
Consoles
The graphical consoles the runner chose.
ToolProcess
A tool process an operation runs.
Implementations§
Trait Implementations§
Source§impl Clone for ResourceKind
impl Clone for ResourceKind
impl Copy for ResourceKind
Source§impl Debug for ResourceKind
impl Debug for ResourceKind
Source§impl<'de> Deserialize<'de> for ResourceKind
impl<'de> Deserialize<'de> for ResourceKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ResourceKind
Source§impl JsonSchema for ResourceKind
impl JsonSchema for ResourceKind
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ResourceKind
impl PartialEq for ResourceKind
Source§impl Serialize for ResourceKind
impl Serialize for ResourceKind
impl StructuralPartialEq for ResourceKind
Auto Trait Implementations§
impl Forget for ResourceKind
impl Freeze for ResourceKind
impl Move for ResourceKind
impl RefUnwindSafe for ResourceKind
impl Send for ResourceKind
impl Sync for ResourceKind
impl Unpin for ResourceKind
impl UnsafeUnpin for ResourceKind
impl UnwindSafe for ResourceKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.