pub struct GameStepResponseHeader {
pub connection_buffer_count: u8,
pub delta_buffer: i8,
pub next_expected_tick_id: TickId,
}
Fields§
§connection_buffer_count: u8
§delta_buffer: i8
§next_expected_tick_id: TickId
Implementations§
Source§impl GameStepResponseHeader
impl GameStepResponseHeader
Sourcepub fn to_stream(&self, stream: &mut impl WriteOctetStream) -> Result<()>
pub fn to_stream(&self, stream: &mut impl WriteOctetStream) -> Result<()>
§Errors
io::Error
// TODO:
Sourcepub fn from_stream(stream: &mut impl ReadOctetStream) -> Result<Self>
pub fn from_stream(stream: &mut impl ReadOctetStream) -> Result<Self>
§Errors
io::Error
// TODO:
Trait Implementations§
Source§impl Debug for GameStepResponseHeader
impl Debug for GameStepResponseHeader
Source§impl Display for GameStepResponseHeader
impl Display for GameStepResponseHeader
Source§impl PartialEq for GameStepResponseHeader
impl PartialEq for GameStepResponseHeader
impl Eq for GameStepResponseHeader
impl StructuralPartialEq for GameStepResponseHeader
Auto Trait Implementations§
impl Freeze for GameStepResponseHeader
impl RefUnwindSafe for GameStepResponseHeader
impl Send for GameStepResponseHeader
impl Sync for GameStepResponseHeader
impl Unpin for GameStepResponseHeader
impl UnwindSafe for GameStepResponseHeader
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