docs.rs failed to build get_errno-0.0.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
get_errno-0.0.2
get_errno
A way to extract
errno
fromstd::io::Error
Example
use std::io::Error;
use get_errno::get_errno;
println!("{}", get_errno(&Error::from_os_error(47)));
// Some(47)
println!("{}", get_errno(&Error::new(ErrorKind::Other, "description", None)));
// None
Status
Experimental
License
MIT