pub struct ProjectionLayer;Expand description
The Projection Layer projects the internal core state or transitions into external formats.
Implementations§
Source§impl ProjectionLayer
impl ProjectionLayer
Sourcepub fn project_state_to_ocel(core: &GenesisCore) -> Result<OcelLog, GraphError>
pub fn project_state_to_ocel(core: &GenesisCore) -> Result<OcelLog, GraphError>
Projects the core state into an OcelLog format.
Sourcepub fn project_ocel_to_state(
core: &GenesisCore,
log: &OcelLog,
) -> Result<(), GraphError>
pub fn project_ocel_to_state( core: &GenesisCore, log: &OcelLog, ) -> Result<(), GraphError>
Projects an OcelLog back into the core state.
Auto Trait Implementations§
impl Freeze for ProjectionLayer
impl RefUnwindSafe for ProjectionLayer
impl Send for ProjectionLayer
impl Sync for ProjectionLayer
impl Unpin for ProjectionLayer
impl UnsafeUnpin for ProjectionLayer
impl UnwindSafe for ProjectionLayer
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