pub enum CommandStatus<T: ICommandInfo> {
Queued(T::Command),
Executing,
Succeeded(T::Success),
Failed(T::Failure),
}Expand description
Current state of a queued command.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for CommandStatus<T>where
<T as ICommandInfo>::Command: Freeze,
<T as ICommandInfo>::Success: Freeze,
<T as ICommandInfo>::Failure: Freeze,
impl<T> RefUnwindSafe for CommandStatus<T>where
<T as ICommandInfo>::Command: RefUnwindSafe,
<T as ICommandInfo>::Success: RefUnwindSafe,
<T as ICommandInfo>::Failure: RefUnwindSafe,
impl<T> Send for CommandStatus<T>
impl<T> Sync for CommandStatus<T>
impl<T> Unpin for CommandStatus<T>where
<T as ICommandInfo>::Command: Unpin,
<T as ICommandInfo>::Success: Unpin,
<T as ICommandInfo>::Failure: Unpin,
impl<T> UnsafeUnpin for CommandStatus<T>where
<T as ICommandInfo>::Command: UnsafeUnpin,
<T as ICommandInfo>::Success: UnsafeUnpin,
<T as ICommandInfo>::Failure: UnsafeUnpin,
impl<T> UnwindSafe for CommandStatus<T>where
<T as ICommandInfo>::Command: UnwindSafe,
<T as ICommandInfo>::Success: UnwindSafe,
<T as ICommandInfo>::Failure: UnwindSafe,
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