Struct mixnet::core::ReplyMessage
source · pub struct ReplyMessage {
pub request_id: MessageId,
pub data: Vec<u8>,
}Expand description
A reply to a previously sent request.
Fields§
§request_id: MessageIdID of the request message this reply was sent in response to.
data: Vec<u8>The message contents.
Trait Implementations§
source§impl Debug for ReplyMessage
impl Debug for ReplyMessage
source§impl PartialEq for ReplyMessage
impl PartialEq for ReplyMessage
source§fn eq(&self, other: &ReplyMessage) -> bool
fn eq(&self, other: &ReplyMessage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ReplyMessage
impl StructuralPartialEq for ReplyMessage
Auto Trait Implementations§
impl Freeze for ReplyMessage
impl RefUnwindSafe for ReplyMessage
impl Send for ReplyMessage
impl Sync for ReplyMessage
impl Unpin for ReplyMessage
impl UnwindSafe for ReplyMessage
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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