pub struct ElicitBuilder<T: Elicitation> { /* private fields */ }Expand description
Builder for one-off style overrides.
Enables ergonomic syntax: Config::with_style(ConfigStyle::Curt).elicit(&peer).await?
Implementations§
Source§impl<T: Elicitation + 'static> ElicitBuilder<T>
impl<T: Elicitation + 'static> ElicitBuilder<T>
Sourcepub async fn elicit(self, peer: Arc<Peer<RoleClient>>) -> ElicitResult<T>
pub async fn elicit(self, peer: Arc<Peer<RoleClient>>) -> ElicitResult<T>
Auto Trait Implementations§
impl<T> Freeze for ElicitBuilder<T>
impl<T> RefUnwindSafe for ElicitBuilder<T>
impl<T> Send for ElicitBuilder<T>
impl<T> Sync for ElicitBuilder<T>
impl<T> Unpin for ElicitBuilder<T>
impl<T> UnsafeUnpin for ElicitBuilder<T>
impl<T> UnwindSafe for ElicitBuilder<T>
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