Skip to main content

ServiceResult

Type Alias ServiceResult 

Source
pub type ServiceResult<T> = Result<T, BackendError>;
Expand description

The Result type every BackendError-fallible seam returns — PlatformServices/Clipboard _result-suffixed twin methods (D-009 seam 2) and any future one like them.

Aliased Type§

pub enum ServiceResult<T> {
    Ok(T),
    Err(BackendError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(BackendError)

Contains the error value