pub enum AutoRequest {
On,
Off,
Status,
}Expand description
A command issued to the engine’s Auto-mode switch.
Status is read-only — the adapter reports the current mode
without mutating engine state. On / Off are the mutating
verbs; the friction ladder has already gated On by the time
the adapter sees the request (Phase-2: On is Increases, Off
/ Status are Neutral — see Command::risk).
Distinct from crate::command::AutoAction (the user-typed
subcommand which also carries Missing / Unknown for usage
hints) — this enum is the resolved adapter request, so it
only carries verbs the adapter can act on.
Variants§
Trait Implementations§
Source§impl Clone for AutoRequest
impl Clone for AutoRequest
Source§fn clone(&self) -> AutoRequest
fn clone(&self) -> AutoRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AutoRequest
impl Debug for AutoRequest
Source§impl PartialEq for AutoRequest
impl PartialEq for AutoRequest
impl Copy for AutoRequest
impl Eq for AutoRequest
impl StructuralPartialEq for AutoRequest
Auto Trait Implementations§
impl Freeze for AutoRequest
impl RefUnwindSafe for AutoRequest
impl Send for AutoRequest
impl Sync for AutoRequest
impl Unpin for AutoRequest
impl UnsafeUnpin for AutoRequest
impl UnwindSafe for AutoRequest
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