SyncSpawnResult

Type Alias SyncSpawnResult 

Source
pub type SyncSpawnResult = Result<(), Box<dyn Any + Send>>;
Expand description

Result type for synchronous spawn operations.

§Returns

  • Result<(), SpawnError> - The spawn operation result.

Aliased Type§

pub enum SyncSpawnResult {
    Ok(()),
    Err(Box<dyn Any + Send>),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(Box<dyn Any + Send>)

Contains the error value