Enum time::server::ServerEvent
source · pub enum ServerEvent {
Started,
Stopping,
Stopped,
}
Available on crate feature
server
only.Expand description
The server state changed event.
Variants§
Trait Implementations§
source§impl Clone for ServerEvent
impl Clone for ServerEvent
source§fn clone(&self) -> ServerEvent
fn clone(&self) -> ServerEvent
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 ServerEvent
impl Debug for ServerEvent
source§impl PartialEq for ServerEvent
impl PartialEq for ServerEvent
source§fn eq(&self, other: &ServerEvent) -> bool
fn eq(&self, other: &ServerEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ServerEvent
impl StructuralPartialEq for ServerEvent
Auto Trait Implementations§
impl RefUnwindSafe for ServerEvent
impl Send for ServerEvent
impl Sync for ServerEvent
impl Unpin for ServerEvent
impl UnwindSafe for ServerEvent
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