Debian Codegraph @

src/lib.rs

raw symbols SCIP
1 mod control_messagerust-analyzer cargo timestamped-socket 0.2.2 control_message/;
2 pub mod interfacerust-analyzer cargo timestamped-socket 0.2.2 interface/;
3 pub mod networkaddressrust-analyzer cargo timestamped-socket 0.2.2 networkaddress/;
4 mod raw_socketrust-analyzer cargo timestamped-socket 0.2.2 raw_socket/;
5 pub mod socketrust-analyzer cargo timestamped-socket 0.2.2 socket/;
6
7 /// Turn a C failure (-1 is returned) into a rust Result
8 pub(craterust-analyzer cargo timestamped-socket 0.2.2 crate/) fn cerrrust-analyzer cargo timestamped-socket 0.2.2 cerr().(t: libcrust-analyzer cargo libc 0.2.152 crate/::c_intrust-analyzer cargo libc 0.2.152 unix/c_int#) -> stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::iorust-analyzer cargo std https://github.com/rust-lang/rust/library/std io/::Resultrust-analyzer cargo std https://github.com/rust-lang/rust/library/std io/error/Result#<libcrust-analyzer cargo libc 0.2.152 crate/::c_intrust-analyzer cargo libc 0.2.152 unix/c_int#> {
9 match t {
10 -1 => Errrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Err#(stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::iorust-analyzer cargo std https://github.com/rust-lang/rust/library/std io/::Errorrust-analyzer cargo std https://github.com/rust-lang/rust/library/std io/error/Error#::last_os_errorrust-analyzer cargo std https://github.com/rust-lang/rust/library/std io/error/impl#[Error]last_os_error().()),
11 _ => Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(t),
12 }
13 }