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