aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/planet.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/planet.rs b/src/planet.rs
index 60e9b3b..b2aa221 100644
--- a/src/planet.rs
+++ b/src/planet.rs
@@ -188,7 +188,7 @@ impl TryFrom<u32> for Health {
}
}
impl Planet {
- fn get_status(&self) -> Result<Health, Error> {
+ pub fn get_status(&self) -> Result<Health, Error> {
let d = match &self.domain {
Some(d) => d,
None => {
@@ -201,7 +201,7 @@ impl Planet {
Ok(state.0.try_into()?)
}
- fn shutdown(&self) -> Result<(), Error> {
+ pub fn shutdown(&self) -> Result<(), Error> {
let d = match &self.domain {
Some(d) => d,
None => {
@@ -214,7 +214,7 @@ impl Planet {
Ok(())
}
- fn start(&self) -> Result<(), Error> {
+ pub fn start(&self) -> Result<(), Error> {
let d = match &self.domain {
Some(d) => d,
None => {
@@ -227,7 +227,7 @@ impl Planet {
Ok(())
}
- fn pause(&self) -> Result<(), Error> {
+ pub fn pause(&self) -> Result<(), Error> {
let d = match &self.domain {
Some(d) => d,
None => {