pub trait SCError {
// Required method
fn finish_err<FA: EndpointFinishApi>(&self) -> !;
}
Expand description
Any type that implements this trait can be used to signal errors when returning from a SC endpoint.
Required Methods§
fn finish_err<FA: EndpointFinishApi>(&self) -> !
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.