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
There is one tricky part that we need to handle: the coordinator is held
by CassResult, which is stored under Mutex in CassFuture. In result, the
reference we obtain in `CassFuture::with_waited_result` closure has a lifetime
of the mutex guard (temporary lifetime during the function call). We need to
extend the lifetime of returned coordinator - further reasoning is explained in
the comment in code.
0 commit comments