pub trait SyncRecord {
// Required methods
fn record_name() -> &'static str;
fn id(&self) -> &Guid;
fn metadata(&self) -> &Metadata;
fn metadata_mut(&mut self) -> &mut Metadata;
fn merge(
incoming: &Self,
local: &Self,
mirror: &Option<Self>,
) -> MergeResult<Self>
where Self: Sized;
}
Required Methods§
fn record_name() -> &'static str
fn id(&self) -> &Guid
fn metadata(&self) -> &Metadata
fn metadata_mut(&mut self) -> &mut Metadata
fn merge(
incoming: &Self,
local: &Self,
mirror: &Option<Self>,
) -> MergeResult<Self>where
Self: Sized,
Object Safety§
This trait is not object safe.