pub trait FinishableError: Clone {
// Required method
fn already_finished() -> Self;
}Expand description
Trait for error types that can represent “already finished” state.
Required Methods§
Sourcefn already_finished() -> Self
fn already_finished() -> Self
Create an error indicating the operation was already finished.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.