pub struct InboundGroupSession { /* private fields */ }

Implementations

Permanently advance the session to the given index.

This will remove the ability to decrypt messages that were encrypted with a lower message index than what is given as the argument.

Returns true if the ratchet has been advanced, false if the ratchet was already advanced past the given index.

Convert the inbound group session into a struct which implements serde::Serialize and serde::Deserialize.

Restore an InboundGroupSession from a previously saved InboundGroupSessionPickle.

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.