pub enum ServerMode {
Dev,
Serve,
Prod,
}Expand description
Server mode.
Variants§
Trait Implementations§
Source§impl Clone for ServerMode
impl Clone for ServerMode
Source§fn clone(&self) -> ServerMode
fn clone(&self) -> ServerMode
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 ServerMode
impl Debug for ServerMode
Source§impl PartialEq for ServerMode
impl PartialEq for ServerMode
impl Copy for ServerMode
impl Eq for ServerMode
impl StructuralPartialEq for ServerMode
Auto Trait Implementations§
impl Freeze for ServerMode
impl RefUnwindSafe for ServerMode
impl Send for ServerMode
impl Sync for ServerMode
impl Unpin for ServerMode
impl UnsafeUnpin for ServerMode
impl UnwindSafe for ServerMode
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