pub struct Frame {
pub frame_id: u64,
pub timestamp_ms: u64,
pub payload: Vec<u8>,
}Available on crate feature
reference-frame only.Expand description
Reference forward-path payload: a primary stream carrying an application-defined byte blob.
This is intentionally minimal — just enough to make the quick-start
example work and to demonstrate the Sealable contract. Real
applications should define their own payload structure with domain
semantics and implement Sealable directly.
Fields§
§frame_id: u64Monotonically increasing identifier. Convention only — the wire does not enforce monotonicity on this field.
timestamp_ms: u64Timestamp in milliseconds since the Unix epoch. Convention only — the wire does not validate this field.
payload: Vec<u8>Opaque application payload.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Frame
impl<'de> Deserialize<'de> for Frame
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 Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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