Skip to content

Commit

Permalink
net: add types for named unix pipes (#5351)
Browse files Browse the repository at this point in the history
  • Loading branch information
satakuma committed Feb 27, 2023
1 parent d44b1ca commit 5a3abe5
Show file tree
Hide file tree
Showing 4 changed files with 1,651 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tokio/src/net/unix/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Unix domain socket utility types.
//! Unix specific network types.
// This module does not currently provide any public API, but it was
// unintentionally defined as a public module. Hide it from the documentation
// instead of changing it to a private module to avoid breakage.
Expand All @@ -22,6 +22,8 @@ pub(crate) use stream::UnixStream;
mod ucred;
pub use ucred::UCred;

pub mod pipe;

/// A type representing process and process group IDs.
#[allow(non_camel_case_types)]
pub type uid_t = u32;
Expand Down
Loading

0 comments on commit 5a3abe5

Please sign in to comment.