pub trait BundleExt {
// Required methods
fn reveal_seal(&mut self, seal: GraphSeal);
fn reveal_transition(
&mut self,
transition: &Transition
) -> Result<bool, RevealError>;
}Required Methods§
sourcefn reveal_seal(&mut self, seal: GraphSeal)
fn reveal_seal(&mut self, seal: GraphSeal)
Ensures that the seal is revealed inside the bundle.
sourcefn reveal_transition(
&mut self,
transition: &Transition
) -> Result<bool, RevealError>
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.