pub enum SendPriority {
Now,
Next,
Later,
}Expand description
Mid-turn priority hint.
Now— interrupt the agent’s current turn and observe immediately.Next— let the current turn finish, then pick this up.Later— queue as a standard follow-up (default).
Variants§
Trait Implementations§
Source§impl Clone for SendPriority
impl Clone for SendPriority
Source§fn clone(&self) -> SendPriority
fn clone(&self) -> SendPriority
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 SendPriority
Source§impl Debug for SendPriority
impl Debug for SendPriority
Source§impl<'de> Deserialize<'de> for SendPriority
impl<'de> Deserialize<'de> for SendPriority
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SendPriority
Source§impl PartialEq for SendPriority
impl PartialEq for SendPriority
Source§impl Serialize for SendPriority
impl Serialize for SendPriority
impl StructuralPartialEq for SendPriority
Auto Trait Implementations§
impl Freeze for SendPriority
impl RefUnwindSafe for SendPriority
impl Send for SendPriority
impl Sync for SendPriority
impl Unpin for SendPriority
impl UnsafeUnpin for SendPriority
impl UnwindSafe for SendPriority
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