pub enum FleetRuntimeTarget {
ThisComputer,
AnotherComputer,
Cloud,
}Expand description
Product-level Runtime target for a managed Fleet run.
The enum intentionally names unsupported targets as contract values so a client receives a precise capability refusal instead of silently falling back to local execution.
Variants§
Trait Implementations§
Source§impl Clone for FleetRuntimeTarget
impl Clone for FleetRuntimeTarget
Source§fn clone(&self) -> FleetRuntimeTarget
fn clone(&self) -> FleetRuntimeTarget
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 moreimpl Copy for FleetRuntimeTarget
Source§impl Debug for FleetRuntimeTarget
impl Debug for FleetRuntimeTarget
Source§impl<'de> Deserialize<'de> for FleetRuntimeTarget
impl<'de> Deserialize<'de> for FleetRuntimeTarget
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 FleetRuntimeTarget
Source§impl PartialEq for FleetRuntimeTarget
impl PartialEq for FleetRuntimeTarget
Source§impl Serialize for FleetRuntimeTarget
impl Serialize for FleetRuntimeTarget
impl StructuralPartialEq for FleetRuntimeTarget
Auto Trait Implementations§
impl Freeze for FleetRuntimeTarget
impl RefUnwindSafe for FleetRuntimeTarget
impl Send for FleetRuntimeTarget
impl Sync for FleetRuntimeTarget
impl Unpin for FleetRuntimeTarget
impl UnsafeUnpin for FleetRuntimeTarget
impl UnwindSafe for FleetRuntimeTarget
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