Type Alias rs_ws281x::Result

source ·
pub type Result<T> = Result<T, WS2811Error>;

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(WS2811Error)

Contains the error value

Trait Implementations§

source§

impl From<ws2811_return_t> for Result<()>

source§

fn from(val: ws2811_return_t) -> Result<()>

Converts to this type from the input type.