Skip to main content

ErrnoSentinel

Trait ErrnoSentinel 

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

Required Methods§

Source

fn sentinel() -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ErrnoSentinel for *mut c_void

Source§

fn sentinel() -> Self

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 usize

Source§

fn sentinel() -> Self

Implementors§