Trait nix::errno::ErrnoSentinel
pub trait ErrnoSentinel: Sized {
fn sentinel() -> Self;
}
Documentation
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
Implementations on Foreign Types
impl ErrnoSentinel for *mut c_void
fn sentinel() -> Self
impl ErrnoSentinel for i32
fn sentinel() -> Self
impl ErrnoSentinel for i64
fn sentinel() -> Self
impl ErrnoSentinel for isize
fn sentinel() -> Self
impl ErrnoSentinel for libc::sighandler_t
fn sentinel() -> Self