// SPDX-License-Identifier: AGPL-3.0-or-later
/// Nonce used for AEAD encryption with Long Term Secrets.
#[derive(Debug, Default, Copy, Clone, Eq, PartialEq)]pubstructLongTermSecretNonce{counter:u64,
}implLongTermSecretNonce{/// Increments and returns the nonce automatically.
pubfnincrement(&mutself)->u64{self.counter +=1;self.counter
}}