You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: agent-control/src/context.rs
+1-5Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,6 @@ impl<T> Context<T>
7
7
where
8
8
T:Default,
9
9
{
10
-
pubfnnew() -> Self{
11
-
Self::default()
12
-
}
13
-
14
10
/// Sets the cancellation signal. All threads that are waiting for this signal (i.e. were passed this [`Context`] are notified so they unblock and finish execution, cancelling the processes.
15
11
pubfncancel_all(&self,val:T) -> Result<(),PoisonError<MutexGuard<'_,T>>>/* this is the error type returned by a failed `lock()` */
0 commit comments