Implement Project::definition
when the buffer is remote
This commit is contained in:
parent
528a4dd9b4
commit
245490f934
6 changed files with 392 additions and 53 deletions
|
@ -155,7 +155,7 @@ pub fn serialize_diagnostics<'a>(
|
|||
.collect()
|
||||
}
|
||||
|
||||
fn serialize_anchor(anchor: &Anchor) -> proto::Anchor {
|
||||
pub fn serialize_anchor(anchor: &Anchor) -> proto::Anchor {
|
||||
proto::Anchor {
|
||||
replica_id: anchor.timestamp.replica_id as u32,
|
||||
local_timestamp: anchor.timestamp.value,
|
||||
|
@ -352,7 +352,7 @@ pub fn deserialize_diagnostics(
|
|||
.collect()
|
||||
}
|
||||
|
||||
fn deserialize_anchor(anchor: proto::Anchor) -> Option<Anchor> {
|
||||
pub fn deserialize_anchor(anchor: proto::Anchor) -> Option<Anchor> {
|
||||
Some(Anchor {
|
||||
timestamp: clock::Local {
|
||||
replica_id: anchor.replica_id as ReplicaId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue