[−][src]Struct enet_sys::_ENetPeer
An ENet peer which data packets may be sent or received from.
No fields should be modified unless otherwise specified.
Fields
dispatchList: ENetListNode
host: *mut _ENetHost
outgoingPeerID: enet_uint16
incomingPeerID: enet_uint16
connectID: enet_uint32
outgoingSessionID: enet_uint8
incomingSessionID: enet_uint8
address: ENetAddress
< Internet address of the peer
data: *mut c_void
< Application private data, may be freely modified
state: ENetPeerState
channels: *mut ENetChannel
channelCount: usize
< Number of channels allocated for communication with peer
incomingBandwidth: enet_uint32
< Downstream bandwidth of the client in bytes/second
outgoingBandwidth: enet_uint32
< Upstream bandwidth of the client in bytes/second
incomingBandwidthThrottleEpoch: enet_uint32
outgoingBandwidthThrottleEpoch: enet_uint32
incomingDataTotal: enet_uint32
outgoingDataTotal: enet_uint32
lastSendTime: enet_uint32
lastReceiveTime: enet_uint32
nextTimeout: enet_uint32
earliestTimeout: enet_uint32
packetLossEpoch: enet_uint32
packetsSent: enet_uint32
packetsLost: enet_uint32
packetLoss: enet_uint32
< mean packet loss of reliable packets as a ratio with respect to the constant ENET_PEER_PACKET_LOSS_SCALE
packetLossVariance: enet_uint32
packetThrottle: enet_uint32
packetThrottleLimit: enet_uint32
packetThrottleCounter: enet_uint32
packetThrottleEpoch: enet_uint32
packetThrottleAcceleration: enet_uint32
packetThrottleDeceleration: enet_uint32
packetThrottleInterval: enet_uint32
pingInterval: enet_uint32
timeoutLimit: enet_uint32
timeoutMinimum: enet_uint32
timeoutMaximum: enet_uint32
lastRoundTripTime: enet_uint32
lowestRoundTripTime: enet_uint32
lastRoundTripTimeVariance: enet_uint32
highestRoundTripTimeVariance: enet_uint32
roundTripTime: enet_uint32
< mean round trip time (RTT), in milliseconds, between sending a reliable packet and receiving its acknowledgement
roundTripTimeVariance: enet_uint32
mtu: enet_uint32
windowSize: enet_uint32
reliableDataInTransit: enet_uint32
outgoingReliableSequenceNumber: enet_uint16
acknowledgements: ENetList
sentReliableCommands: ENetList
sentUnreliableCommands: ENetList
outgoingReliableCommands: ENetList
outgoingUnreliableCommands: ENetList
dispatchedCommands: ENetList
needsDispatch: c_int
incomingUnsequencedGroup: enet_uint16
outgoingUnsequencedGroup: enet_uint16
unsequencedWindow: [enet_uint32; 32]
eventData: enet_uint32
totalWaitingData: usize
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,