pub enum AnyTypeInfoStyle {
Default,
}Expand description
Default-only style enum.
Variants§
Default
Default presentation style.
Trait Implementations§
Source§impl Clone for AnyTypeInfoStyle
impl Clone for AnyTypeInfoStyle
Source§fn clone(&self) -> AnyTypeInfoStyle
fn clone(&self) -> AnyTypeInfoStyle
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 AnyTypeInfoStyle
impl Debug for AnyTypeInfoStyle
Source§impl Default for AnyTypeInfoStyle
impl Default for AnyTypeInfoStyle
Source§fn default() -> AnyTypeInfoStyle
fn default() -> AnyTypeInfoStyle
Returns the “default value” for a type. Read more
Source§impl ElicitPromptTree for AnyTypeInfoStyle
Available on crate feature prompt-tree only.
impl ElicitPromptTree for AnyTypeInfoStyle
Available on crate feature
prompt-tree only.Source§fn prompt_tree() -> PromptTree
fn prompt_tree() -> PromptTree
Return the static prompt tree for this type. Read more
Source§fn assembled_prompts() -> Vec<AssembledPrompt>
fn assembled_prompts() -> Vec<AssembledPrompt>
Return the complete assembled prompts in elicitation order. Read more
Source§impl Elicitation for AnyTypeInfoStyle
impl Elicitation for AnyTypeInfoStyle
Source§type Style = AnyTypeInfoStyle
type Style = AnyTypeInfoStyle
The style enum for this type. Read more
Source§async fn elicit<C: ElicitCommunicator>(_communicator: &C) -> ElicitResult<Self>
async fn elicit<C: ElicitCommunicator>(_communicator: &C) -> ElicitResult<Self>
Elicit a value of this type from the user via style-aware client. Read more
Source§fn kani_proof() -> TokenStream
fn kani_proof() -> TokenStream
Generate a Kani symbolic execution proof harness for this type. Read more
Source§fn verus_proof() -> TokenStream
fn verus_proof() -> TokenStream
Returns a
proc_macro2::TokenStream containing a Verus-verified function
with requires/ensures specifications for this type’s invariants. Read moreSource§fn creusot_proof() -> TokenStream
fn creusot_proof() -> TokenStream
Returns a
proc_macro2::TokenStream containing Creusot contract functions
with #[requires]/#[ensures]/#[trusted] attributes for this type’s invariants. Read moreSource§fn elicit_checked(
peer: Peer<RoleServer>,
) -> impl Future<Output = ElicitResult<Self>> + Send
fn elicit_checked( peer: Peer<RoleServer>, ) -> impl Future<Output = ElicitResult<Self>> + Send
Server-side elicitation via MCP peer. Read more
Source§fn with_style(style: Self::Style) -> ElicitBuilder<Self>
fn with_style(style: Self::Style) -> ElicitBuilder<Self>
Create a builder for one-off style override. Read more
Source§fn elicit_proven<C: ElicitCommunicator>(
communicator: &C,
) -> impl Future<Output = ElicitResult<(Self, Established<Is<Self>>)>> + Send
fn elicit_proven<C: ElicitCommunicator>( communicator: &C, ) -> impl Future<Output = ElicitResult<(Self, Established<Is<Self>>)>> + Send
Elicit a value with proof it inhabits type Self. Read more
Source§fn prusti_proof() -> TokenStream
fn prusti_proof() -> TokenStream
Returns a
proc_macro2::TokenStream containing Prusti contract functions
with #[requires]/#[ensures] attributes for this type’s invariants. Read moreSource§impl ElicitationStyle for AnyTypeInfoStyle
Default styles use the default prompt formatting.
impl ElicitationStyle for AnyTypeInfoStyle
Default styles use the default prompt formatting.
Source§fn prompt_for_field(
&self,
field_name: &str,
field_type: &str,
_context: &PromptContext,
) -> String
fn prompt_for_field( &self, field_name: &str, field_type: &str, _context: &PromptContext, ) -> String
Generate prompt text for a field. Read more
Source§fn help_text(&self, field_name: &str, field_type: &str) -> Option<String>
fn help_text(&self, field_name: &str, field_type: &str) -> Option<String>
Generate optional help text for a field. Read more
Source§fn validation_error(&self, field_name: &str, error: &str) -> String
fn validation_error(&self, field_name: &str, error: &str) -> String
Format validation error messages. Read more
Source§fn show_type_hints(&self) -> bool
fn show_type_hints(&self) -> bool
Whether to show type hints in prompts.
Source§fn select_style(&self) -> SelectStyle
fn select_style(&self) -> SelectStyle
Style for select/dropdown interactions.
Source§fn use_decorations(&self) -> bool
fn use_decorations(&self) -> bool
Whether to use decorative elements (borders, icons, etc.).
Source§fn prompt_prefix(&self) -> &str
fn prompt_prefix(&self) -> &str
Prefix for prompts (e.g., “? “, “> “).
Source§impl Hash for AnyTypeInfoStyle
impl Hash for AnyTypeInfoStyle
Source§impl PartialEq for AnyTypeInfoStyle
impl PartialEq for AnyTypeInfoStyle
Source§impl Prompt for AnyTypeInfoStyle
impl Prompt for AnyTypeInfoStyle
impl Copy for AnyTypeInfoStyle
impl Eq for AnyTypeInfoStyle
impl StructuralPartialEq for AnyTypeInfoStyle
Auto Trait Implementations§
impl Freeze for AnyTypeInfoStyle
impl RefUnwindSafe for AnyTypeInfoStyle
impl Send for AnyTypeInfoStyle
impl Sync for AnyTypeInfoStyle
impl Unpin for AnyTypeInfoStyle
impl UnsafeUnpin for AnyTypeInfoStyle
impl UnwindSafe for AnyTypeInfoStyle
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> WithContract for T
impl<T> WithContract for T
Source§fn with_contract<C>(contract: C) -> ContractedElicitation<Self, C>
fn with_contract<C>(contract: C) -> ContractedElicitation<Self, C>
Attach a contract to this type’s elicitation. Read more