Struct openmls::framing::ProcessedMessage
source · pub struct ProcessedMessage { /* private fields */ }
Expand description
A message that has passed all syntax and semantics checks.
Implementations§
source§impl ProcessedMessage
impl ProcessedMessage
sourcepub fn epoch(&self) -> GroupEpoch
pub fn epoch(&self) -> GroupEpoch
Returns the epoch of the message.
sourcepub fn authenticated_data(&self) -> &[u8] ⓘ
pub fn authenticated_data(&self) -> &[u8] ⓘ
Returns the authenticated data of the message.
sourcepub fn content(&self) -> &ProcessedMessageContent
pub fn content(&self) -> &ProcessedMessageContent
Returns the content of the message.
sourcepub fn into_content(self) -> ProcessedMessageContent
pub fn into_content(self) -> ProcessedMessageContent
Returns the content of the message and consumes the message.
sourcepub fn credential(&self) -> &Credential
pub fn credential(&self) -> &Credential
Returns the credential of the message.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ProcessedMessage
impl Send for ProcessedMessage
impl Sync for ProcessedMessage
impl Unpin for ProcessedMessage
impl UnwindSafe for ProcessedMessage
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