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() -> SelfImplementations on Foreign Types
impl ErrnoSentinel for *mut c_void
fn sentinel() -> Selfimpl ErrnoSentinel for i32
fn sentinel() -> Selfimpl ErrnoSentinel for i64
fn sentinel() -> Selfimpl ErrnoSentinel for isize
fn sentinel() -> Selfimpl ErrnoSentinel for libc::sighandler_t
fn sentinel() -> Self