pub struct ActiveStreamingTool {
pub task: JoinHandle<()>,
pub cancel: CancellationToken,
}Expand description
Handle to a running streaming tool.
Fields§
§task: JoinHandle<()>The spawned task handle.
cancel: CancellationTokenToken to cancel this streaming tool.
Auto Trait Implementations§
impl Freeze for ActiveStreamingTool
impl RefUnwindSafe for ActiveStreamingTool
impl Send for ActiveStreamingTool
impl Sync for ActiveStreamingTool
impl Unpin for ActiveStreamingTool
impl UnwindSafe for ActiveStreamingTool
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