From b830b4b86b39173843a2d660727b9e1854fe8bfb Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 2 Jun 2014 22:10:38 -0700 Subject: rtio: Remove unused stuct --- src/libstd/rt/rtio.rs | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/libstd/rt/rtio.rs') diff --git a/src/libstd/rt/rtio.rs b/src/libstd/rt/rtio.rs index 06db465f7ee..24ff2a8f425 100644 --- a/src/libstd/rt/rtio.rs +++ b/src/libstd/rt/rtio.rs @@ -61,18 +61,6 @@ pub trait RemoteCallback { fn fire(&mut self); } -/// Data needed to make a successful open(2) call -/// Using unix flag conventions for now, which happens to also be what's supported -/// libuv (it does translation to windows under the hood). -pub struct FileOpenConfig { - /// Path to file to be opened - pub path: Path, - /// Flags for file access mode (as per open(2)) - pub flags: int, - /// File creation mode, ignored unless O_CREAT is passed as part of flags - pub mode: int -} - /// Description of what to do when a file handle is closed pub enum CloseBehavior { /// Do not close this handle when the object is destroyed -- cgit 1.4.1-3-g733a5