Closed Centril closed 3 weeks ago
Provide a lighter version of TransactionUpdate if the flag is passed:
TransactionUpdate
pub enum ServerMessage<F: WebsocketFormat> { InitialSubscription(InitialSubscription<F>), TransactionUpdate(TransactionUpdate<F>), IdentityToken(IdentityToken), OneOffQueryResponse(OneOffQueryResponse<F>), TransactionUpdateLight(TransactionUpdateLight<F>), } pub struct TransactionUpdateLight<F: WebsocketFormat> { request_id: u32, /// The status of the transaction. Contains the updated rows, if successful. pub status: DatabaseUpdate<F>, }
Provide a lighter version of
TransactionUpdate
if the flag is passed: