pub trait GraphImport: GraphExport {
Show 14 methods
// Required methods
fn set_next_node_id(&self, id: i64);
fn set_next_rel_id(&self, id: i64);
fn set_commit_ts(&self, ts: u64);
fn install_named_index(&self, index: IndexDef) -> Result<()>;
fn install_named_constraint(&self, constraint: ConstraintDef) -> Result<()>;
fn restore_checkpoint_theater(
&self,
theater: CheckpointTheater,
) -> Result<()>;
fn mark_legacy_unenforced(&self);
fn finish_restore(&self);
fn load_checkpoint_node(&self, node: Node) -> Result<()>;
fn load_checkpoint_rel(&self, rel: Relationship) -> Result<()>;
fn apply_replayed_redo(
&self,
ops: Vec<RedoOp>,
commit_ts: u64,
) -> Result<()>;
fn rebuild_indexes(&self);
fn restore_graph_type_spec(&self, spec: Option<&str>) -> Result<()>;
fn restore_legacy_enforced_constraints(
&self,
constraints: Vec<Constraint>,
) -> Result<()>;
}Required Methods§
fn set_next_node_id(&self, id: i64)
fn set_next_rel_id(&self, id: i64)
fn set_commit_ts(&self, ts: u64)
fn install_named_index(&self, index: IndexDef) -> Result<()>
fn install_named_constraint(&self, constraint: ConstraintDef) -> Result<()>
fn restore_checkpoint_theater(&self, theater: CheckpointTheater) -> Result<()>
fn mark_legacy_unenforced(&self)
fn finish_restore(&self)
fn load_checkpoint_node(&self, node: Node) -> Result<()>
fn load_checkpoint_rel(&self, rel: Relationship) -> Result<()>
fn apply_replayed_redo(&self, ops: Vec<RedoOp>, commit_ts: u64) -> Result<()>
fn rebuild_indexes(&self)
fn restore_graph_type_spec(&self, spec: Option<&str>) -> Result<()>
fn restore_legacy_enforced_constraints( &self, constraints: Vec<Constraint>, ) -> Result<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".