pub struct Refusal {
pub key: &'static str,
pub detail: String,
}Expand description
Why a task cannot be mapped onto a machine: a key (“task-axis-missing”: the task moves along an axis the machine has
not; “task-out-of-range”: a pose beyond an axis’s range; “task-origin”: an origin of the wrong length;
“task-payload”: a payload on a machine whose config has none; “task-set”: an assignment the config refuses; or the
machine’s own reason from Machine::unreachable) and what it concerns.
Fields§
§key: &'static str§detail: StringTrait Implementations§
impl StructuralPartialEq for Refusal
Auto Trait Implementations§
impl Freeze for Refusal
impl RefUnwindSafe for Refusal
impl Send for Refusal
impl Sync for Refusal
impl Unpin for Refusal
impl UnsafeUnpin for Refusal
impl UnwindSafe for Refusal
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