pub struct ProgressSender { /* private fields */ }Implementations§
Source§impl ProgressSender
impl ProgressSender
Sourcepub async fn send_update(
&self,
_message: impl Into<Content>,
) -> Result<(), AgentError>
pub async fn send_update( &self, _message: impl Into<Content>, ) -> Result<(), AgentError>
Sourcepub async fn send_partial_artifact(
&self,
_artifact: Artifact,
) -> Result<(), AgentError>
pub async fn send_partial_artifact( &self, _artifact: Artifact, ) -> Result<(), AgentError>
Auto Trait Implementations§
impl Freeze for ProgressSender
impl RefUnwindSafe for ProgressSender
impl Send for ProgressSender
impl Sync for ProgressSender
impl Unpin for ProgressSender
impl UnsafeUnpin for ProgressSender
impl UnwindSafe for ProgressSender
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