pub struct CrdtUpdate(pub Vec<u8>);Expand description
The wire delta exchanged between replicas (SABER §2 CrdtUpdate). At M0a
this is an opaque byte vector with no producer — the type exists so the M2
local_edit/apply_update signatures are stable now.
Tuple Fields§
§0: Vec<u8>Trait Implementations§
Source§impl Clone for CrdtUpdate
impl Clone for CrdtUpdate
Source§fn clone(&self) -> CrdtUpdate
fn clone(&self) -> CrdtUpdate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CrdtUpdate
impl Debug for CrdtUpdate
Source§impl<'de> Deserialize<'de> for CrdtUpdate
impl<'de> Deserialize<'de> for CrdtUpdate
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
Auto Trait Implementations§
impl Freeze for CrdtUpdate
impl RefUnwindSafe for CrdtUpdate
impl Send for CrdtUpdate
impl Sync for CrdtUpdate
impl Unpin for CrdtUpdate
impl UnsafeUnpin for CrdtUpdate
impl UnwindSafe for CrdtUpdate
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