#traits #maintained #longer #prelude #unix #int #cvt

yanked cvt-trait

This crate is no longer maintained

1.2.0 Jun 11, 2021
1.1.2 May 13, 2021
1.1.0 Feb 1, 2021
1.0.1 Jan 20, 2021
0.1.16 Jan 15, 2021

#38 in #longer

MPL-2.0 license

14KB
306 lines

This project is no longer maintained.


lib.rs:

Reimplementation of the private std::sys::cvt(), but as a trait method.

Example

use cvt_trait::prelude::*;
unsafe { os_api() }.cvt().expect("OS API failed");

No runtime deps