pub enum EventKind {
Show 25 variants
ConnectionEstablished,
ConnectionClosed,
ConnectionFailed,
ConnectionMigrated,
CandidateDiscovered,
CandidateValidated,
CandidateFailed,
HolePunchStarted,
HolePunchSucceeded,
HolePunchFailed,
PathSelected,
PathChanged,
PathClosed,
PathRttUpdated,
PacketSent,
PacketReceived,
TransportError,
DiscoveryStarted,
AddressDiscovered,
DiscoveryCompleted,
EndpointStarted,
ShutdownInitiated,
ShutdownCompleted,
ActorTick,
CleanupPerformed,
}Expand description
Kinds of events that can be logged
Variants§
ConnectionEstablished
Connection established
ConnectionClosed
Connection closed
ConnectionFailed
Connection failed
ConnectionMigrated
Connection migrated to new path
CandidateDiscovered
Candidate discovered
CandidateValidated
Candidate validated
CandidateFailed
Candidate failed validation
HolePunchStarted
Hole punch initiated
HolePunchSucceeded
Hole punch succeeded
HolePunchFailed
Hole punch failed
PathSelected
Path selected
PathChanged
Path changed
PathClosed
Path closed
PathRttUpdated
Path RTT updated
PacketSent
Packet sent
PacketReceived
Packet received
TransportError
Transport error
DiscoveryStarted
Discovery started
AddressDiscovered
Address discovered
DiscoveryCompleted
Discovery completed
EndpointStarted
Endpoint started
ShutdownInitiated
Endpoint shutdown initiated
ShutdownCompleted
Endpoint shutdown completed
ActorTick
Actor tick completed
CleanupPerformed
Cleanup performed
Trait Implementations§
impl Copy for EventKind
impl Eq for EventKind
impl StructuralPartialEq for EventKind
Auto Trait Implementations§
impl Freeze for EventKind
impl RefUnwindSafe for EventKind
impl Send for EventKind
impl Sync for EventKind
impl Unpin for EventKind
impl UnwindSafe for EventKind
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.