[−][src]Struct aoaddons::photon_decode::PhotonHeader
PhotonHeader frame (12 bytes) | peer_id | crc_enabled | command_count | timestamp | challenge | |---------|-------------|---------------|-----------|-----------| | 2 | 1 | 1 | 4 | 4 | |---------|-------------|---------------|-----------|-----------|
Fields
peer_id: i16crc_enabled: boolcommand_count: u8timestamp: u32challenge: u32Trait Implementations
impl Debug for PhotonHeader[src]
impl<'_> Decode<PhotonHeader> for PhotonCursor<'_>[src]
fn decode(&mut self) -> Result<PhotonHeader, PhotonDecodeError>[src]
Auto Trait Implementations
impl RefUnwindSafe for PhotonHeader
impl Send for PhotonHeader
impl Sync for PhotonHeader
impl Unpin for PhotonHeader
impl UnwindSafe for PhotonHeader
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,