pub type SyncSpawnResult = Result<(), Box<dyn Any + Send>>;Expand description
Type alias for the result type returned by spawnable functions.
Ok(()): Indicates successful execution of the function.Err(SpawnError): Contains a boxed error value in case of a panic or failure.
Aliased Type§
pub enum SyncSpawnResult {
Ok(()),
Err(Box<dyn Any + Send>),
}