pub trait ResultExt<T, E>: Sized {
// Required method
fn finish_phase(self, owner: impl Complete) -> Result<T, E>
where E: AsStopReason;
}Expand description
The explicit boundary where a normal Rust result completes its phase owner.
Required Methods§
Sourcefn finish_phase(self, owner: impl Complete) -> Result<T, E>where
E: AsStopReason,
fn finish_phase(self, owner: impl Complete) -> Result<T, E>where
E: AsStopReason,
Record completion and return this result unchanged. This is not invoked
by ?, map, or Drop automatically.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".