pub enum ServerStatus {
StartUp,
Running(String),
Stopped(String),
Error(String),
}Expand description
The state of the running server process
Variants§
Trait Implementations§
Source§impl Debug for ServerStatus
impl Debug for ServerStatus
Source§impl Default for ServerStatus
impl Default for ServerStatus
Source§fn default() -> ServerStatus
fn default() -> ServerStatus
Returns the “default value” for a type. Read more
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