pub struct TickSyncSample {
pub local_tick: f64,
pub server_tick: u64,
pub client_sent_at: Duration,
pub client_received_at: Duration,
pub server_processing_time: Duration,
}Expand description
One client observation of an authoritative server Tick.
Fields§
§local_tick: f64Client simulation Tick when the response was received; fractional values are allowed.
server_tick: u64Authoritative server Tick at response send time.
client_sent_at: DurationClient monotonic time when the request was sent.
client_received_at: DurationClient monotonic time when the response was received.
server_processing_time: DurationTime spent processing the probe on the server.
Trait Implementations§
Source§impl Clone for TickSyncSample
impl Clone for TickSyncSample
Source§fn clone(&self) -> TickSyncSample
fn clone(&self) -> TickSyncSample
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TickSyncSample
Source§impl Debug for TickSyncSample
impl Debug for TickSyncSample
Source§impl PartialEq for TickSyncSample
impl PartialEq for TickSyncSample
impl StructuralPartialEq for TickSyncSample
Auto Trait Implementations§
impl Freeze for TickSyncSample
impl RefUnwindSafe for TickSyncSample
impl Send for TickSyncSample
impl Sync for TickSyncSample
impl Unpin for TickSyncSample
impl UnsafeUnpin for TickSyncSample
impl UnwindSafe for TickSyncSample
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