pub enum PlanetToExplorerKind {
SupportedResourceResponse,
SupportedCombinationResponse,
GenerateResourceResponse,
CombineResourceResponse,
AvailableEnergyCellResponse,
Stopped,
}Variants§
SupportedResourceResponse
This variant is used to send the available BasicResourceType list to the Explorer
Response To: ExplorerToPlanet::SupportedResourceRequest
SupportedCombinationResponse
This variant is used to send the available ComplexResourceType list to the Explorer
Response To: ExplorerToPlanet::SupportedCombinationRequest
GenerateResourceResponse
This variant is used to send the generated Basic Resource
Response To: ExplorerToPlanet::GenerateResourceRequest
CombineResourceResponse
This variant is used to send the ComplexResource generated
Response To: ExplorerToPlanet::CombineResourceRequest
AvailableEnergyCellResponse
This variant is used to send the number of available energy cells to the Explorer
Response To: ExplorerToPlanet::AvailableEnergyCellRequest
Stopped
This variant is used by planets that are currently in a stopped state to acknowledge any message coming from an explorer
Trait Implementations§
Source§impl Clone for PlanetToExplorerKind
impl Clone for PlanetToExplorerKind
Source§fn clone(&self) -> PlanetToExplorerKind
fn clone(&self) -> PlanetToExplorerKind
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more