pub enum DHTEventType {
MessageReceived(MessageReceivedEvent),
}
Expand description
Enum that represents the different types of events that can be sent from the DHT.
Variants§
MessageReceived(MessageReceivedEvent)
Trait Implementations§
Source§impl Clone for DHTEventType
impl Clone for DHTEventType
Source§fn clone(&self) -> DHTEventType
fn clone(&self) -> DHTEventType
Returns a duplicate 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 moreSource§impl Debug for DHTEventType
impl Debug for DHTEventType
Source§impl PartialEq for DHTEventType
impl PartialEq for DHTEventType
impl StructuralPartialEq for DHTEventType
Auto Trait Implementations§
impl Freeze for DHTEventType
impl RefUnwindSafe for DHTEventType
impl Send for DHTEventType
impl Sync for DHTEventType
impl Unpin for DHTEventType
impl UnwindSafe for DHTEventType
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