pub enum ServerState {
New,
Active,
Stopped,
Closed,
}Expand description
服务器状态 Server state
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ServerState
impl Clone for ServerState
Source§impl Debug for ServerState
impl Debug for ServerState
Source§impl FromStr for ServerState
impl FromStr for ServerState
Source§impl PartialEq for ServerState
impl PartialEq for ServerState
impl StructuralPartialEq for ServerState
Auto Trait Implementations§
impl Freeze for ServerState
impl RefUnwindSafe for ServerState
impl Send for ServerState
impl Sync for ServerState
impl Unpin for ServerState
impl UnsafeUnpin for ServerState
impl UnwindSafe for ServerState
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