pub struct ProcessedTargetedMessage { /* private fields */ }Available on crate feature
targeted-messages-draft only.Expand description
Verified targeted message content, returned after successful processing.
Implementations§
Source§impl ProcessedTargetedMessage
impl ProcessedTargetedMessage
Sourcepub fn sender_leaf_index(&self) -> LeafNodeIndex
pub fn sender_leaf_index(&self) -> LeafNodeIndex
Returns the sender’s leaf index.
Sourcepub fn application_data(&self) -> &[u8] ⓘ
pub fn application_data(&self) -> &[u8] ⓘ
Returns the application data payload.
Sourcepub fn authenticated_data(&self) -> &[u8] ⓘ
pub fn authenticated_data(&self) -> &[u8] ⓘ
Returns the authenticated data.
Trait Implementations§
Source§impl Clone for ProcessedTargetedMessage
impl Clone for ProcessedTargetedMessage
Source§fn clone(&self) -> ProcessedTargetedMessage
fn clone(&self) -> ProcessedTargetedMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProcessedTargetedMessage
impl Debug for ProcessedTargetedMessage
Source§impl PartialEq for ProcessedTargetedMessage
impl PartialEq for ProcessedTargetedMessage
impl StructuralPartialEq for ProcessedTargetedMessage
Auto Trait Implementations§
impl Freeze for ProcessedTargetedMessage
Available on 32-bit or 64-bit only.
impl RefUnwindSafe for ProcessedTargetedMessage
Available on 32-bit or 64-bit only.
impl Send for ProcessedTargetedMessage
Available on 32-bit or 64-bit only.
impl Sync for ProcessedTargetedMessage
Available on 32-bit or 64-bit only.
impl Unpin for ProcessedTargetedMessage
Available on 32-bit or 64-bit only.
impl UnsafeUnpin for ProcessedTargetedMessage
Available on 32-bit or 64-bit only.
impl UnwindSafe for ProcessedTargetedMessage
Available on 32-bit or 64-bit only.
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Available on 32-bit or 64-bit only.
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Available on 32-bit or 64-bit only.
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
Available on 32-bit or 64-bit only.
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Available on 32-bit or 64-bit only.
§impl<T> Classify for T
Available on 32-bit or 64-bit only.
impl<T> Classify for T
Available on 32-bit or 64-bit only.
type Classified = T
fn classify(self) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
Available on 32-bit or 64-bit only.
impl<T> CloneToUninit for Twhere
T: Clone,
Available on 32-bit or 64-bit only.
§impl<T> Declassify for T
Available on 32-bit or 64-bit only.
impl<T> Declassify for T
Available on 32-bit or 64-bit only.
type Declassified = T
fn declassify(self) -> T
Source§impl<T> IntoEither for T
Available on 32-bit or 64-bit only.
impl<T> IntoEither for T
Available on 32-bit or 64-bit only.
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
Available on 32-bit or 64-bit only.
impl<T> Pointable for T
Available on 32-bit or 64-bit only.
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Available on 32-bit or 64-bit only.
Source§impl<S, T> Upcast<T> for S
Available on 32-bit or 64-bit only.
impl<S, T> Upcast<T> for S
Available on 32-bit or 64-bit only.