Struct bip324::ReceivedMessage
source · pub struct ReceivedMessage {
pub message: Option<Vec<u8>>,
}Expand description
A message or decoy packet from a connected peer.
Fields§
§message: Option<Vec<u8>>A message to handle or None if the peer sent a decoy and the message may be safely ignored.
Implementations§
Trait Implementations§
source§impl Clone for ReceivedMessage
impl Clone for ReceivedMessage
source§fn clone(&self) -> ReceivedMessage
fn clone(&self) -> ReceivedMessage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ReceivedMessage
impl RefUnwindSafe for ReceivedMessage
impl Send for ReceivedMessage
impl Sync for ReceivedMessage
impl Unpin for ReceivedMessage
impl UnwindSafe for ReceivedMessage
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