pub struct Update { /* private fields */ }
Implementations§
Source§impl Update
impl Update
pub fn from_ybinary1(buffer: Vec<u8>) -> JwstCodecResult<Update>
pub fn into_ybinary1(self) -> JwstCodecResult<Vec<u8>>
pub fn delete_set_iter(&mut self, state: StateVector) -> DeleteSetIterator<'_>
pub fn drain_pending_state(&mut self)
pub fn merge<I: IntoIterator<Item = Update>>(updates: I) -> Update
pub fn merge_into<I: IntoIterator<Item = Update>>( target: &mut Update, updates: I, )
pub fn is_empty(&self) -> bool
pub fn is_pending_empty(&self) -> bool
Trait Implementations§
Source§impl<R: CrdtReader> CrdtRead<R> for Update
impl<R: CrdtReader> CrdtRead<R> for Update
fn read(decoder: &mut R) -> JwstCodecResult<Self>
Source§impl<W: CrdtWriter> CrdtWrite<W> for Update
impl<W: CrdtWriter> CrdtWrite<W> for Update
fn write(&self, encoder: &mut W) -> JwstCodecResult
Auto Trait Implementations§
impl Freeze for Update
impl RefUnwindSafe for Update
impl !Send for Update
impl !Sync for Update
impl Unpin for Update
impl UnwindSafe for Update
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