File: error.rs

package info (click to toggle)
rust-zmq 0.9.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 540 kB
  • sloc: makefile: 2
file content (8 lines) | stat: -rw-r--r-- 149 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
use zmq::*;
use zmq_sys::errno;

#[test]
fn from_raw_eintr() {
    let error = Error::from_raw(errno::EINTR);
    assert_eq!(error, Error::EINTR);
}