pub struct InputReceiveReport<T> {
pub accepted: Vec<InputFrame<T>>,
pub duplicates: usize,
pub client_tick: u64,
pub acknowledged_server_tick: u64,
pub acknowledgement: InputAck,
}Expand description
Server-side result after validating and de-duplicating one input packet.
Fields§
§accepted: Vec<InputFrame<T>>Newly accepted frames, ordered by input sequence.
duplicates: usizeNumber of already received frames ignored from this packet.
client_tick: u64Client simulation Tick carried by the packet.
acknowledged_server_tick: u64Newest server Tick acknowledged by the client.
acknowledgement: InputAckCumulative input acknowledgement to return to the client.
Trait Implementations§
Source§impl<T: Clone> Clone for InputReceiveReport<T>
impl<T: Clone> Clone for InputReceiveReport<T>
Source§fn clone(&self) -> InputReceiveReport<T>
fn clone(&self) -> InputReceiveReport<T>
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 moreSource§impl<T: Debug> Debug for InputReceiveReport<T>
impl<T: Debug> Debug for InputReceiveReport<T>
impl<T: Eq> Eq for InputReceiveReport<T>
Source§impl<T: PartialEq> PartialEq for InputReceiveReport<T>
impl<T: PartialEq> PartialEq for InputReceiveReport<T>
impl<T: PartialEq> StructuralPartialEq for InputReceiveReport<T>
Auto Trait Implementations§
impl<T> Freeze for InputReceiveReport<T>
impl<T> RefUnwindSafe for InputReceiveReport<T>where
T: RefUnwindSafe,
impl<T> Send for InputReceiveReport<T>where
T: Send,
impl<T> Sync for InputReceiveReport<T>where
T: Sync,
impl<T> Unpin for InputReceiveReport<T>where
T: Unpin,
impl<T> UnsafeUnpin for InputReceiveReport<T>
impl<T> UnwindSafe for InputReceiveReport<T>where
T: UnwindSafe,
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