pub struct PreKeyBundlesState(/* private fields */);Expand description
Collection of all known, publishable pre-keys with their regarding secrets and signatures in this key manager. Offers a form of “garbage collection” to automatically remove expired pre-keys.
This can be serialized and independently stored from the identity secrets.
Trait Implementations§
Source§impl Clone for PreKeyBundlesState
impl Clone for PreKeyBundlesState
Source§fn clone(&self) -> PreKeyBundlesState
fn clone(&self) -> PreKeyBundlesState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PreKeyBundlesState
impl Debug for PreKeyBundlesState
Source§impl Default for PreKeyBundlesState
impl Default for PreKeyBundlesState
Source§fn default() -> PreKeyBundlesState
fn default() -> PreKeyBundlesState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PreKeyBundlesState
impl<'de> Deserialize<'de> for PreKeyBundlesState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PreKeyBundlesState
impl RefUnwindSafe for PreKeyBundlesState
impl Send for PreKeyBundlesState
impl Sync for PreKeyBundlesState
impl Unpin for PreKeyBundlesState
impl UnwindSafe for PreKeyBundlesState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more