pub enum QueueControl {
Start,
Stop,
}Expand description
Canonical queue activation control (#queue-state-unify).
The queue: frontmatter key subsumes the deprecated queue_active: boolean
and the auto attribute on the agent:queue marker. start (alias go)
activates the queue; stop deactivates it. Parsed leniently (case- and
whitespace-insensitive); unknown values resolve to None and are ignored so
a typo never silently flips activation.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for QueueControl
impl Clone for QueueControl
Source§fn clone(&self) -> QueueControl
fn clone(&self) -> QueueControl
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 QueueControl
Source§impl Debug for QueueControl
impl Debug for QueueControl
impl Eq for QueueControl
Source§impl PartialEq for QueueControl
impl PartialEq for QueueControl
Source§fn eq(&self, other: &QueueControl) -> bool
fn eq(&self, other: &QueueControl) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for QueueControl
Auto Trait Implementations§
impl Freeze for QueueControl
impl RefUnwindSafe for QueueControl
impl Send for QueueControl
impl Sync for QueueControl
impl Unpin for QueueControl
impl UnsafeUnpin for QueueControl
impl UnwindSafe for QueueControl
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§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.