Trait BundleExt

Source
pub trait BundleExt {
    // Required methods
    fn reveal_seal(&mut self, seal: GraphSeal);
    fn reveal_transition(
        &mut self,
        transition: &Transition,
    ) -> Result<bool, RevealError>;
}

Required Methods§

Source

fn reveal_seal(&mut self, seal: GraphSeal)

Ensures that the seal is revealed inside the bundle.

Source

fn reveal_transition( &mut self, transition: &Transition, ) -> Result<bool, RevealError>

Ensures that the transition is revealed inside the bundle.

§Returns

true if the transition was previously concealed; false if it was already revealed; error if the transition is unrelated to the bundle.

Implementors§