Skip to main content

Source

Trait Source 

Source
pub unsafe trait Source {
    // Required method
    fn read() -> i32;
}
Expand description

Access to errno immediately after a native operation reports failure.

§Safety

read returns the unchanged native errno slot of the calling thread.

Required Methods§

Source

fn read() -> i32

Reads this thread’s unchanged native errno slot.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§