#[non_exhaustive]pub enum ProtocolRequestProfile {
SessionTurn,
UtilityPrompt,
}Expand description
Protocol-owned request family preserved across prompt submission and repair retries.
Session discussion turns and isolated utility prompts share the same
top-level AgentResponse schema. Agentty still carries the request
family through transport boundaries so call sites can keep one consistent
protocol contract even when some callers ignore parts of the response, such
as the optional top-level summary.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ProtocolRequestProfile
impl Clone for ProtocolRequestProfile
Source§fn clone(&self) -> ProtocolRequestProfile
fn clone(&self) -> ProtocolRequestProfile
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 ProtocolRequestProfile
Source§impl Debug for ProtocolRequestProfile
impl Debug for ProtocolRequestProfile
impl Eq for ProtocolRequestProfile
Source§impl PartialEq for ProtocolRequestProfile
impl PartialEq for ProtocolRequestProfile
impl StructuralPartialEq for ProtocolRequestProfile
Auto Trait Implementations§
impl Freeze for ProtocolRequestProfile
impl RefUnwindSafe for ProtocolRequestProfile
impl Send for ProtocolRequestProfile
impl Sync for ProtocolRequestProfile
impl Unpin for ProtocolRequestProfile
impl UnsafeUnpin for ProtocolRequestProfile
impl UnwindSafe for ProtocolRequestProfile
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