Type Alias to_shmem::Result

source ·
pub type Result<T> = Result<ManuallyDrop<T>, String>;
Expand description

Result type for ToShmem::to_shmem.

The String is an error message describing why the call failed.

Aliased Type§

enum Result<T> {
    Ok(ManuallyDrop<T>),
    Err(String),
}

Variants§

§1.0.0

Ok(ManuallyDrop<T>)

Contains the success value

§1.0.0

Err(String)

Contains the error value