pub struct Input {
pub sequence: u64,
pub timestamp_ms: u64,
pub payload: Vec<u8>,
}Available on crate feature
reference-frame only.Expand description
Reference reverse-path payload: an input event batch carrying an application-defined byte blob.
Paired with Frame for bidirectional remote-control use. The
sequence field is a convention for caller-side ordering; the wire’s
own replay window operates on the AEAD nonce sequence, not on this
field.
Fields§
§sequence: u64Caller-side sequence number for ordering events.
timestamp_ms: u64Timestamp in milliseconds.
payload: Vec<u8>Opaque application payload.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Input
impl<'de> Deserialize<'de> for Input
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Input
impl StructuralPartialEq for Input
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnsafeUnpin for Input
impl UnwindSafe for Input
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