Enum veloren_network::api::ParticipantEvent
source · pub enum ParticipantEvent {
ChannelCreated(ConnectAddr),
ChannelDeleted(ConnectAddr),
}
Expand description
a Participant can throw different events, you are obligated to carefully empty the queue from time to time
Variants§
ChannelCreated(ConnectAddr)
ChannelDeleted(ConnectAddr)
Trait Implementations§
source§impl Clone for ParticipantEvent
impl Clone for ParticipantEvent
source§fn clone(&self) -> ParticipantEvent
fn clone(&self) -> ParticipantEvent
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 !RefUnwindSafe for ParticipantEvent
impl Send for ParticipantEvent
impl Sync for ParticipantEvent
impl Unpin for ParticipantEvent
impl !UnwindSafe for ParticipantEvent
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