diff options
author | Cara Salter <cara@devcara.com> | 2022-05-27 11:59:53 -0400 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2022-05-27 11:59:53 -0400 |
commit | bd1218eca88438d28afd4d171a2505ecc9c0bb23 (patch) | |
tree | 019237ea676bd70ffcd5e3ff33601a2ca9dcbb16 /src/star.rs | |
parent | 77fa95a342f09953e3207ea0346135301ffe2664 (diff) | |
download | solarlib-bd1218eca88438d28afd4d171a2505ecc9c0bb23.tar.gz solarlib-bd1218eca88438d28afd4d171a2505ecc9c0bb23.zip |
planet: Utility methods for managing state
New functions:
- get_status
- shutdown
- start
- pause
In short, a way for users of the lib to manage the state of their VMs.
Diffstat (limited to 'src/star.rs')
-rw-r--r-- | src/star.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/star.rs b/src/star.rs index 9cd9d14..dad8789 100644 --- a/src/star.rs +++ b/src/star.rs @@ -227,12 +227,12 @@ mod test { #[test] fn connect_to_house() { - let _: House = House::new("test:///default".to_string()).unwrap(); + let _: Star = Star::new("test:///default".to_string()).unwrap(); } #[test] fn list_inhabitants() { - let mut h: House = House::new("test:///default".to_string()).unwrap(); + let mut h: Star = Star::new("test:///default".to_string()).unwrap(); assert_eq!(h.inhabitants().unwrap().len(), 1); } |