[][src]Enum sc2_proto::error::ActionResult

pub enum ActionResult {
    Success,
    NotSupported,
    Error,
    CantQueueThatOrder,
    Retry,
    Cooldown,
    QueueIsFull,
    RallyQueueIsFull,
    NotEnoughMinerals,
    NotEnoughVespene,
    NotEnoughTerrazine,
    NotEnoughCustom,
    NotEnoughFood,
    FoodUsageImpossible,
    NotEnoughLife,
    NotEnoughShields,
    NotEnoughEnergy,
    LifeSuppressed,
    ShieldsSuppressed,
    EnergySuppressed,
    NotEnoughCharges,
    CantAddMoreCharges,
    TooMuchMinerals,
    TooMuchVespene,
    TooMuchTerrazine,
    TooMuchCustom,
    TooMuchFood,
    TooMuchLife,
    TooMuchShields,
    TooMuchEnergy,
    MustTargetUnitWithLife,
    MustTargetUnitWithShields,
    MustTargetUnitWithEnergy,
    CantTrade,
    CantSpend,
    CantTargetThatUnit,
    CouldntAllocateUnit,
    UnitCantMove,
    TransportIsHoldingPosition,
    BuildTechRequirementsNotMet,
    CantFindPlacementLocation,
    CantBuildOnThat,
    CantBuildTooCloseToDropOff,
    CantBuildLocationInvalid,
    CantSeeBuildLocation,
    CantBuildTooCloseToCreepSource,
    CantBuildTooCloseToResources,
    CantBuildTooFarFromWater,
    CantBuildTooFarFromCreepSource,
    CantBuildTooFarFromBuildPowerSource,
    CantBuildOnDenseTerrain,
    CantTrainTooFarFromTrainPowerSource,
    CantLandLocationInvalid,
    CantSeeLandLocation,
    CantLandTooCloseToCreepSource,
    CantLandTooCloseToResources,
    CantLandTooFarFromWater,
    CantLandTooFarFromCreepSource,
    CantLandTooFarFromBuildPowerSource,
    CantLandTooFarFromTrainPowerSource,
    CantLandOnDenseTerrain,
    AddOnTooFarFromBuilding,
    MustBuildRefineryFirst,
    BuildingIsUnderConstruction,
    CantFindDropOff,
    CantLoadOtherPlayersUnits,
    NotEnoughRoomToLoadUnit,
    CantUnloadUnitsThere,
    CantWarpInUnitsThere,
    CantLoadImmobileUnits,
    CantRechargeImmobileUnits,
    CantRechargeUnderConstructionUnits,
    CantLoadThatUnit,
    NoCargoToUnload,
    LoadAllNoTargetsFound,
    NotWhileOccupied,
    CantAttackWithoutAmmo,
    CantHoldAnyMoreAmmo,
    TechRequirementsNotMet,
    MustLockdownUnitFirst,
    MustTargetUnit,
    MustTargetInventory,
    MustTargetVisibleUnit,
    MustTargetVisibleLocation,
    MustTargetWalkableLocation,
    MustTargetPawnableUnit,
    YouCantControlThatUnit,
    YouCantIssueCommandsToThatUnit,
    MustTargetResources,
    RequiresHealTarget,
    RequiresRepairTarget,
    NoItemsToDrop,
    CantHoldAnyMoreItems,
    CantHoldThat,
    TargetHasNoInventory,
    CantDropThisItem,
    CantMoveThisItem,
    CantPawnThisUnit,
    MustTargetCaster,
    CantTargetCaster,
    MustTargetOuter,
    CantTargetOuter,
    MustTargetYourOwnUnits,
    CantTargetYourOwnUnits,
    MustTargetFriendlyUnits,
    CantTargetFriendlyUnits,
    MustTargetNeutralUnits,
    CantTargetNeutralUnits,
    MustTargetEnemyUnits,
    CantTargetEnemyUnits,
    MustTargetAirUnits,
    CantTargetAirUnits,
    MustTargetGroundUnits,
    CantTargetGroundUnits,
    MustTargetStructures,
    CantTargetStructures,
    MustTargetLightUnits,
    CantTargetLightUnits,
    MustTargetArmoredUnits,
    CantTargetArmoredUnits,
    MustTargetBiologicalUnits,
    CantTargetBiologicalUnits,
    MustTargetHeroicUnits,
    CantTargetHeroicUnits,
    MustTargetRoboticUnits,
    CantTargetRoboticUnits,
    MustTargetMechanicalUnits,
    CantTargetMechanicalUnits,
    MustTargetPsionicUnits,
    CantTargetPsionicUnits,
    MustTargetMassiveUnits,
    CantTargetMassiveUnits,
    MustTargetMissile,
    CantTargetMissile,
    MustTargetWorkerUnits,
    CantTargetWorkerUnits,
    MustTargetEnergyCapableUnits,
    CantTargetEnergyCapableUnits,
    MustTargetShieldCapableUnits,
    CantTargetShieldCapableUnits,
    MustTargetFlyers,
    CantTargetFlyers,
    MustTargetBuriedUnits,
    CantTargetBuriedUnits,
    MustTargetCloakedUnits,
    CantTargetCloakedUnits,
    MustTargetUnitsInAStasisField,
    CantTargetUnitsInAStasisField,
    MustTargetUnderConstructionUnits,
    CantTargetUnderConstructionUnits,
    MustTargetDeadUnits,
    CantTargetDeadUnits,
    MustTargetRevivableUnits,
    CantTargetRevivableUnits,
    MustTargetHiddenUnits,
    CantTargetHiddenUnits,
    CantRechargeOtherPlayersUnits,
    MustTargetHallucinations,
    CantTargetHallucinations,
    MustTargetInvulnerableUnits,
    CantTargetInvulnerableUnits,
    MustTargetDetectedUnits,
    CantTargetDetectedUnits,
    CantTargetUnitWithEnergy,
    CantTargetUnitWithShields,
    MustTargetUncommandableUnits,
    CantTargetUncommandableUnits,
    MustTargetPreventDefeatUnits,
    CantTargetPreventDefeatUnits,
    MustTargetPreventRevealUnits,
    CantTargetPreventRevealUnits,
    MustTargetPassiveUnits,
    CantTargetPassiveUnits,
    MustTargetStunnedUnits,
    CantTargetStunnedUnits,
    MustTargetSummonedUnits,
    CantTargetSummonedUnits,
    MustTargetUser1,
    CantTargetUser1,
    MustTargetUnstoppableUnits,
    CantTargetUnstoppableUnits,
    MustTargetResistantUnits,
    CantTargetResistantUnits,
    MustTargetDazedUnits,
    CantTargetDazedUnits,
    CantLockdown,
    CantMindControl,
    MustTargetDestructibles,
    CantTargetDestructibles,
    MustTargetItems,
    CantTargetItems,
    NoCalldownAvailable,
    WaypointListFull,
    MustTargetRace,
    CantTargetRace,
    MustTargetSimilarUnits,
    CantTargetSimilarUnits,
    CantFindEnoughTargets,
    AlreadySpawningLarva,
    CantTargetExhaustedResources,
    CantUseMinimap,
    CantUseInfoPanel,
    OrderQueueIsFull,
    CantHarvestThatResource,
    HarvestersNotRequired,
    AlreadyTargeted,
    CantAttackWeaponsDisabled,
    CouldntReachTarget,
    TargetIsOutOfRange,
    TargetIsTooClose,
    TargetIsOutOfArc,
    CantFindTeleportLocation,
    InvalidItemClass,
    CantFindCancelOrder,
}

Variants

Trait Implementations

impl Default for ActionResult
[src]

impl PartialEq<ActionResult> for ActionResult
[src]

This method tests for !=.

impl Clone for ActionResult
[src]

Performs copy-assignment from source. Read more

impl Copy for ActionResult
[src]

impl Eq for ActionResult
[src]

impl Debug for ActionResult
[src]

impl Hash for ActionResult
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl ProtobufEnum for ActionResult
[src]

Get enum value descriptor.

Get enum descriptor.

impl ProtobufValue for ActionResult
[src]

Auto Trait Implementations

impl Send for ActionResult

impl Sync for ActionResult

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]