nix::errno

Trait ErrnoSentinel

source
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§

source

fn sentinel() -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ErrnoSentinel for i32

source§

fn sentinel() -> Self

source§

impl ErrnoSentinel for i64

source§

fn sentinel() -> Self

source§

impl ErrnoSentinel for isize

source§

fn sentinel() -> Self

source§

impl ErrnoSentinel for *mut c_void

source§

fn sentinel() -> Self

source§

impl ErrnoSentinel for sighandler_t

source§

fn sentinel() -> Self

Implementors§