Struct PeerStatistic
pub struct PeerStatistic { /* private fields */ }
Implementations§
§impl PeerStatistic
impl PeerStatistic
pub const PACKET_LOSS: PeerStatistic = _
pub const PACKET_LOSS: PeerStatistic = _
Godot enumerator name: PEER_PACKET_LOSS
pub const PACKET_LOSS_VARIANCE: PeerStatistic = _
pub const PACKET_LOSS_VARIANCE: PeerStatistic = _
Godot enumerator name: PEER_PACKET_LOSS_VARIANCE
pub const PACKET_LOSS_EPOCH: PeerStatistic = _
pub const PACKET_LOSS_EPOCH: PeerStatistic = _
Godot enumerator name: PEER_PACKET_LOSS_EPOCH
pub const ROUND_TRIP_TIME: PeerStatistic = _
pub const ROUND_TRIP_TIME: PeerStatistic = _
Godot enumerator name: PEER_ROUND_TRIP_TIME
pub const ROUND_TRIP_TIME_VARIANCE: PeerStatistic = _
pub const ROUND_TRIP_TIME_VARIANCE: PeerStatistic = _
Godot enumerator name: PEER_ROUND_TRIP_TIME_VARIANCE
pub const LAST_ROUND_TRIP_TIME: PeerStatistic = _
pub const LAST_ROUND_TRIP_TIME: PeerStatistic = _
Godot enumerator name: PEER_LAST_ROUND_TRIP_TIME
pub const LAST_ROUND_TRIP_TIME_VARIANCE: PeerStatistic = _
pub const LAST_ROUND_TRIP_TIME_VARIANCE: PeerStatistic = _
Godot enumerator name: PEER_LAST_ROUND_TRIP_TIME_VARIANCE
pub const PACKET_THROTTLE: PeerStatistic = _
pub const PACKET_THROTTLE: PeerStatistic = _
Godot enumerator name: PEER_PACKET_THROTTLE
pub const PACKET_THROTTLE_LIMIT: PeerStatistic = _
pub const PACKET_THROTTLE_LIMIT: PeerStatistic = _
Godot enumerator name: PEER_PACKET_THROTTLE_LIMIT
pub const PACKET_THROTTLE_COUNTER: PeerStatistic = _
pub const PACKET_THROTTLE_COUNTER: PeerStatistic = _
Godot enumerator name: PEER_PACKET_THROTTLE_COUNTER
pub const PACKET_THROTTLE_EPOCH: PeerStatistic = _
pub const PACKET_THROTTLE_EPOCH: PeerStatistic = _
Godot enumerator name: PEER_PACKET_THROTTLE_EPOCH
pub const PACKET_THROTTLE_ACCELERATION: PeerStatistic = _
pub const PACKET_THROTTLE_ACCELERATION: PeerStatistic = _
Godot enumerator name: PEER_PACKET_THROTTLE_ACCELERATION
pub const PACKET_THROTTLE_DECELERATION: PeerStatistic = _
pub const PACKET_THROTTLE_DECELERATION: PeerStatistic = _
Godot enumerator name: PEER_PACKET_THROTTLE_DECELERATION
pub const PACKET_THROTTLE_INTERVAL: PeerStatistic = _
pub const PACKET_THROTTLE_INTERVAL: PeerStatistic = _
Godot enumerator name: PEER_PACKET_THROTTLE_INTERVAL
Trait Implementations§
§impl Clone for PeerStatistic
impl Clone for PeerStatistic
§fn clone(&self) -> PeerStatistic
fn clone(&self) -> PeerStatistic
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 more§impl Debug for PeerStatistic
impl Debug for PeerStatistic
§impl EngineEnum for PeerStatistic
impl EngineEnum for PeerStatistic
§impl FromGodot for PeerStatistic
impl FromGodot for PeerStatistic
§fn try_from_godot(
via: <PeerStatistic as GodotConvert>::Via,
) -> Result<PeerStatistic, ConvertError>
fn try_from_godot( via: <PeerStatistic as GodotConvert>::Via, ) -> Result<PeerStatistic, ConvertError>
Converts the Godot representation to this type, returning
Err
on failure.§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
⚠️ Converts the Godot representation to this type. Read more
§fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
Performs the conversion from a
Variant
, returning Err
on failure.§fn from_variant(variant: &Variant) -> Self
fn from_variant(variant: &Variant) -> Self
§impl GodotConvert for PeerStatistic
impl GodotConvert for PeerStatistic
§impl Hash for PeerStatistic
impl Hash for PeerStatistic
§impl PartialEq for PeerStatistic
impl PartialEq for PeerStatistic
§impl ToGodot for PeerStatistic
impl ToGodot for PeerStatistic
§type ToVia<'v> = i32
type ToVia<'v> = i32
Target type of
to_godot()
, which differs from Via
for pass-by-reference types.§fn to_godot(&self) -> <PeerStatistic as ToGodot>::ToVia<'_>
fn to_godot(&self) -> <PeerStatistic as ToGodot>::ToVia<'_>
Converts this type to the Godot type by reference, usually by cloning.
§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Converts this type to a Variant.
impl Copy for PeerStatistic
impl Eq for PeerStatistic
impl StructuralPartialEq for PeerStatistic
Auto Trait Implementations§
impl Freeze for PeerStatistic
impl RefUnwindSafe for PeerStatistic
impl Send for PeerStatistic
impl Sync for PeerStatistic
impl Unpin for PeerStatistic
impl UnwindSafe for PeerStatistic
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)