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.