pub struct Update { /* fields omitted */ }
Expand description
An update of a unit’s payload data.
An update keeps both the set and optional diff behind an arc and can thus be copied cheaply.
Implementations
Returns the diff if it can be used for the given serial.
The method will return the diff if it is preset and if the given serial is one less than the update’s serial.
Applies a diff to the update.
The update will retain its current serial number.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Update
impl UnwindSafe for Update
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more