pub struct PacketReceived {
pub packet: Packet,
pub participant_identity: ParticipantIdentity,
}Fields§
§packet: Packet§participant_identity: ParticipantIdentityImplementations§
Source§impl PacketReceived
impl PacketReceived
pub fn new(packet: Packet, participant_identity: ParticipantIdentity) -> Self
Trait Implementations§
Source§impl From<PacketReceived> for InputEvent
Convert into PacketReceived variant.
impl From<PacketReceived> for InputEvent
Convert into PacketReceived variant.
Source§fn from(v: PacketReceived) -> Self
fn from(v: PacketReceived) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PacketReceived
impl RefUnwindSafe for PacketReceived
impl Send for PacketReceived
impl Sync for PacketReceived
impl Unpin for PacketReceived
impl UnsafeUnpin for PacketReceived
impl UnwindSafe for PacketReceived
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