pub struct StateUpdate {
pub state_id: u64,
pub source: NodeId,
pub sequence: u64,
pub timestamp: StateTime,
pub priority: PropagationPriority,
pub size: usize,
pub is_keyframe: bool,
}Expand description
State update to propagate
Fields§
§state_id: u64State ID
source: NodeIdSource node (authority)
sequence: u64Sequence number
timestamp: StateTimeTimestamp
priority: PropagationPriorityPriority
size: usizePayload size in bytes
is_keyframe: boolIs this a keyframe?
Implementations§
Trait Implementations§
Source§impl Clone for StateUpdate
impl Clone for StateUpdate
Source§fn clone(&self) -> StateUpdate
fn clone(&self) -> StateUpdate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StateUpdate
impl RefUnwindSafe for StateUpdate
impl Send for StateUpdate
impl Sync for StateUpdate
impl Unpin for StateUpdate
impl UnsafeUnpin for StateUpdate
impl UnwindSafe for StateUpdate
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