Struct openmls::prelude::UnverifiedMessage
source · [−]pub struct UnverifiedMessage { /* private fields */ }
Expand description
Partially checked and potentially decrypted message (if it was originally encrypted).
Use this to inspect the Credential
of the message sender
and the optional aad
if the original message was encrypted.
Implementations
sourceimpl UnverifiedMessage
impl UnverifiedMessage
sourcepub fn epoch(&self) -> GroupEpoch
pub fn epoch(&self) -> GroupEpoch
Returns the epoch.
sourcepub fn credential(&self) -> Option<&Credential>
pub fn credential(&self) -> Option<&Credential>
Return the credential if there is one.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UnverifiedMessage
impl Send for UnverifiedMessage
impl Sync for UnverifiedMessage
impl Unpin for UnverifiedMessage
impl UnwindSafe for UnverifiedMessage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more