pub enum RequestMode {
Answer,
Execute,
Study,
Clarify,
}Expand description
The response mode a request calls for — force × completeness 2×2 (DAMSL force, ClarEval completeness). See design doc §2.
Variants§
Answer
Assertive / info-request, specified → answer in prose, no staging.
Execute
Directive, specified → act directly (today’s behavior).
Study
Investigation / under-specified-for-design → read-only; must end in a written proposal + go/no-go.
Clarify
Under-specified (any force) → ask first (intake/question) before any mutation.
Implementations§
Source§impl RequestMode
impl RequestMode
Source§impl RequestMode
impl RequestMode
Trait Implementations§
Source§impl Clone for RequestMode
impl Clone for RequestMode
Source§fn clone(&self) -> RequestMode
fn clone(&self) -> RequestMode
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 RequestMode
Source§impl Debug for RequestMode
impl Debug for RequestMode
impl Eq for RequestMode
Source§impl PartialEq for RequestMode
impl PartialEq for RequestMode
Source§fn eq(&self, other: &RequestMode) -> bool
fn eq(&self, other: &RequestMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RequestMode
Auto Trait Implementations§
impl Freeze for RequestMode
impl RefUnwindSafe for RequestMode
impl Send for RequestMode
impl Sync for RequestMode
impl Unpin for RequestMode
impl UnsafeUnpin for RequestMode
impl UnwindSafe for RequestMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.