1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
11 //! Experimental extensions to `std` for Windows.
13 //! For now, this module is limited to extracting handles, file
14 //! descriptors, and sockets, but its functionality will grow over
17 #![stable(feature = "rust1", since = "1.0.0")]
25 /// A prelude for conveniently writing platform-specific code.
27 /// Includes all extension traits, and some important type definitions.
28 #[stable(feature = "rust1", since = "1.0.0")]
31 pub use super::io
::{RawSocket, RawHandle, AsRawSocket, AsRawHandle}
;
33 pub use super::io
::{FromRawSocket, FromRawHandle, IntoRawSocket, IntoRawHandle}
;
34 #[doc(no_inline)] #[stable(feature = "rust1", since = "1.0.0")]
35 pub use super::ffi
::{OsStrExt, OsStringExt}
;
37 pub use super::fs
::{OpenOptionsExt, MetadataExt}
;