[][src]Enum rs_ws281x::bindings::ws2811_return_t

#[repr(i32)]pub enum ws2811_return_t {
    WS2811_SUCCESS,
    WS2811_ERROR_GENERIC,
    WS2811_ERROR_OUT_OF_MEMORY,
    WS2811_ERROR_HW_NOT_SUPPORTED,
    WS2811_ERROR_MEM_LOCK,
    WS2811_ERROR_MMAP,
    WS2811_ERROR_MAP_REGISTERS,
    WS2811_ERROR_GPIO_INIT,
    WS2811_ERROR_PWM_SETUP,
    WS2811_ERROR_MAILBOX_DEVICE,
    WS2811_ERROR_DMA,
    WS2811_ERROR_ILLEGAL_GPIO,
    WS2811_ERROR_PCM_SETUP,
    WS2811_ERROR_SPI_SETUP,
    WS2811_ERROR_SPI_TRANSFER,
}

Variants

WS2811_SUCCESS
WS2811_ERROR_GENERIC
WS2811_ERROR_OUT_OF_MEMORY
WS2811_ERROR_HW_NOT_SUPPORTED
WS2811_ERROR_MEM_LOCK
WS2811_ERROR_MMAP
WS2811_ERROR_MAP_REGISTERS
WS2811_ERROR_GPIO_INIT
WS2811_ERROR_PWM_SETUP
WS2811_ERROR_MAILBOX_DEVICE
WS2811_ERROR_DMA
WS2811_ERROR_ILLEGAL_GPIO
WS2811_ERROR_PCM_SETUP
WS2811_ERROR_SPI_SETUP
WS2811_ERROR_SPI_TRANSFER

Implementations

impl ws2811_return_t[src]

Trait Implementations

impl Clone for ws2811_return_t[src]

impl Copy for ws2811_return_t[src]

impl Debug for ws2811_return_t[src]

impl Eq for ws2811_return_t[src]

impl From<ws2811_return_t> for Result<()>[src]

impl Hash for ws2811_return_t[src]

impl PartialEq<ws2811_return_t> for ws2811_return_t[src]

impl StructuralEq for ws2811_return_t[src]

impl StructuralPartialEq for ws2811_return_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.