pub enum ServerStatus {
Starting,
Running,
Stopping,
Stopped,
Failed,
}
Expand description
Status of a server process
Variants§
Starting
Server is starting
Running
Server is running
Stopping
Server is stopping
Stopped
Server has stopped
Failed
Server failed to start or crashed
Trait Implementations§
Source§impl Clone for ServerStatus
impl Clone for ServerStatus
Source§fn clone(&self) -> ServerStatus
fn clone(&self) -> ServerStatus
Returns a copy 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 ServerStatus
impl Debug for ServerStatus
Source§impl PartialEq for ServerStatus
impl PartialEq for ServerStatus
impl Copy for ServerStatus
impl Eq for ServerStatus
impl StructuralPartialEq for ServerStatus
Auto Trait Implementations§
impl Freeze for ServerStatus
impl RefUnwindSafe for ServerStatus
impl Send for ServerStatus
impl Sync for ServerStatus
impl Unpin for ServerStatus
impl UnwindSafe for ServerStatus
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