pub struct Change { /* private fields */ }
Implementations§
source§impl Change
impl Change
pub fn actor_id(&self) -> &ActorId
pub fn other_actor_ids(&self) -> &[ActorId]
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn max_op(&self) -> u64
pub fn start_op(&self) -> NonZeroU64
pub fn message(&self) -> Option<&String>
pub fn deps(&self) -> &[ChangeHash]
pub fn hash(&self) -> ChangeHash
pub fn seq(&self) -> u64
pub fn timestamp(&self) -> i64
pub fn bytes(&mut self) -> Cow<'_, [u8]>
pub fn raw_bytes(&self) -> &[u8] ⓘ
pub fn extra_bytes(&self) -> &[u8] ⓘ
pub fn from_bytes(bytes: Vec<u8>) -> Result<Self, LoadError>
pub fn decode(&self) -> ExpandedChange
Trait Implementations§
source§impl From<&Change> for ExpandedChange
impl From<&Change> for ExpandedChange
source§impl From<Change> for Change
impl From<Change> for Change
source§fn from(e: ExpandedChange) -> Self
fn from(e: ExpandedChange) -> Self
Converts to this type from the input type.