Trait alsa::nix::errno::ErrnoSentinel

pub trait ErrnoSentinel: Sized {
    // Required method
    fn sentinel() -> Self;
}
Expand description

The sentinel value indicates that a function failed and more detailed information about the error can be found in errno

Required Methods§

fn sentinel() -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl ErrnoSentinel for i32

§

fn sentinel() -> i32

§

impl ErrnoSentinel for i64

§

fn sentinel() -> i64

§

impl ErrnoSentinel for isize

§

impl ErrnoSentinel for *mut c_void

§

impl ErrnoSentinel for usize

Implementors§