pub enum PlayError {
InUse,
AlreadyStarted,
}
Variants§
InUse
The game cannot be started because the game state is currently being accessed.
AlreadyStarted
The game has already been started, and cannot be started again.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PlayError
impl RefUnwindSafe for PlayError
impl Send for PlayError
impl Sync for PlayError
impl Unpin for PlayError
impl UnwindSafe for PlayError
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