Skip to main content

UartResult

Type Alias UartResult 

Source
pub type UartResult<T, E> = Result<T, UartError<E>>;
Expand description

Result alias for UART adapter operations.

Aliased Type§

pub enum UartResult<T, E> {
    Ok(T),
    Err(UartError<E>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(UartError<E>)

Contains the error value