Type Alias SerialResult

Source
pub type SerialResult<T> = Result<T, SerialError>;
Expand description

Serial port result type

Aliased Type§

pub enum SerialResult<T> {
    Ok(T),
    Err(SerialError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(SerialError)

Contains the error value