pub enum RunnerArch {
X86,
X64,
Arm,
Arm64,
Other(String),
}Expand description
The runner CPU architecture, parsed from RUNNER_ARCH.
§Examples
use actions_rs::RunnerArch;
assert_eq!(RunnerArch::X64, RunnerArch::X64);Variants§
X86
32-bit x86.
X64
64-bit x86.
Arm
32-bit ARM.
Arm64
64-bit ARM.
Other(String)
An unrecognised value (forward-compatible).
Implementations§
Trait Implementations§
Source§impl Clone for RunnerArch
impl Clone for RunnerArch
Source§fn clone(&self) -> RunnerArch
fn clone(&self) -> RunnerArch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RunnerArch
impl Debug for RunnerArch
Source§impl PartialEq for RunnerArch
impl PartialEq for RunnerArch
Source§fn eq(&self, other: &RunnerArch) -> bool
fn eq(&self, other: &RunnerArch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RunnerArch
impl StructuralPartialEq for RunnerArch
Auto Trait Implementations§
impl Freeze for RunnerArch
impl RefUnwindSafe for RunnerArch
impl Send for RunnerArch
impl Sync for RunnerArch
impl Unpin for RunnerArch
impl UnsafeUnpin for RunnerArch
impl UnwindSafe for RunnerArch
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