pub enum CommandResult {
Submitted(Uuid),
DestinationAccepted {
request_id: Uuid,
},
Applied,
Noop,
}Expand description
Result of applying a scheduler command.
Variants§
Submitted(Uuid)
A new request was accepted.
DestinationAccepted
A destination request was accepted; physical reservation may be pending.
Applied
State or retained effects were changed.
Noop
The command addressed no owned state or retained effect.
Trait Implementations§
Source§impl Clone for CommandResult
impl Clone for CommandResult
Source§fn clone(&self) -> CommandResult
fn clone(&self) -> CommandResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CommandResult
Source§impl Debug for CommandResult
impl Debug for CommandResult
impl Eq for CommandResult
Source§impl PartialEq for CommandResult
impl PartialEq for CommandResult
impl StructuralPartialEq for CommandResult
Auto Trait Implementations§
impl Freeze for CommandResult
impl RefUnwindSafe for CommandResult
impl Send for CommandResult
impl Sync for CommandResult
impl Unpin for CommandResult
impl UnsafeUnpin for CommandResult
impl UnwindSafe for CommandResult
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