Enum oxygengine_network::server::ServerState
source · [−]pub enum ServerState {
Starting,
Open,
Closed,
}Variants
Starting
Open
Closed
Trait Implementations
sourceimpl Clone for ServerState
impl Clone for ServerState
sourcefn clone(&self) -> ServerState
fn clone(&self) -> ServerState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ServerState
impl Debug for ServerState
sourceimpl Default for ServerState
impl Default for ServerState
sourceimpl PartialEq<ServerState> for ServerState
impl PartialEq<ServerState> for ServerState
sourcefn eq(&self, other: &ServerState) -> bool
fn eq(&self, other: &ServerState) -> bool
impl Copy for ServerState
impl Eq for ServerState
impl StructuralEq for ServerState
impl StructuralPartialEq for ServerState
Auto Trait Implementations
impl RefUnwindSafe for ServerState
impl Send for ServerState
impl Sync for ServerState
impl Unpin for ServerState
impl UnwindSafe for ServerState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.