pub struct ApplicationMessage { /* private fields */ }
Expand description
Application message received through a ProcessedMessage.
Implementations§
Source§impl ApplicationMessage
impl ApplicationMessage
Sourcepub fn into_bytes(self) -> Vec<u8> ⓘ
pub fn into_bytes(self) -> Vec<u8> ⓘ
Returns the inner bytes and consumes the ApplicationMessage
.
Trait Implementations§
Source§impl Debug for ApplicationMessage
impl Debug for ApplicationMessage
Source§impl PartialEq for ApplicationMessage
impl PartialEq for ApplicationMessage
impl Eq for ApplicationMessage
impl StructuralPartialEq for ApplicationMessage
Auto Trait Implementations§
impl Freeze for ApplicationMessage
impl RefUnwindSafe for ApplicationMessage
impl Send for ApplicationMessage
impl Sync for ApplicationMessage
impl Unpin for ApplicationMessage
impl UnwindSafe for ApplicationMessage
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
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