pub enum InstanceStatus {
InstallingBaseGame {
progress: Option<u8>,
},
InstallingTerrains {
installed: Vec<Terrain>,
processing: Option<Terrain>,
processing_progress: Option<u8>,
},
InstallingMods,
InstallingPost,
ServerStarted,
ServerStopped {
was_error: bool,
reason: InstanceStoppedReason,
},
ServerExpired,
ServerDeleted,
WantServerStarted {
current_try: u32,
},
WantServerStopped {
error_passthrough: Option<(bool, InstanceStoppedReason)>,
},
WantUpdateServer,
}
Variants§
InstallingBaseGame
InstallingTerrains
InstallingMods
InstallingPost
ServerStarted
ServerStopped
ServerExpired
ServerDeleted
WantServerStarted
WantServerStopped
WantUpdateServer
Trait Implementations§
Source§impl Clone for InstanceStatus
impl Clone for InstanceStatus
Source§fn clone(&self) -> InstanceStatus
fn clone(&self) -> InstanceStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InstanceStatus
impl Debug for InstanceStatus
Source§impl<'de> Deserialize<'de> for InstanceStatus
impl<'de> Deserialize<'de> for InstanceStatus
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
Auto Trait Implementations§
impl Freeze for InstanceStatus
impl RefUnwindSafe for InstanceStatus
impl Send for InstanceStatus
impl Sync for InstanceStatus
impl Unpin for InstanceStatus
impl UnwindSafe for InstanceStatus
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