pub struct CrdtOp {
pub lamport: u64,
pub actor_id: u64,
pub content: Vec<u8>,
}Expand description
A CRDT operation for compression.
Fields§
§lamport: u64Lamport timestamp.
actor_id: u64Actor ID (hash or index into actor dictionary).
content: Vec<u8>Operation payload (text content, JSON fragment, etc.).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CrdtOp
impl RefUnwindSafe for CrdtOp
impl Send for CrdtOp
impl Sync for CrdtOp
impl Unpin for CrdtOp
impl UnsafeUnpin for CrdtOp
impl UnwindSafe for CrdtOp
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