Cole MacKenzie06/28/2023, 12:07 AM
is not cloneable? Regarding API semantics here, the
only needs to borrow the table, so it is possible to keep both a table and writer, but
wants to own the table, meaning I can't keep it around to call other methods / ops on it.
really need to consume the table?
Will Jones06/28/2023, 1:03 AM
consumes the table: it's mutating the inner state itself. I think if we tried harder we could make it take a mutable reference instead; IIRC the only reason we didn't is to avoid lifetime complications inside async functions.
Cole MacKenzie06/28/2023, 1:35 AM