mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-29 00:00:11 +02:00
process: Hide compat from docs
This commit is contained in:
@@ -448,6 +448,7 @@ impl Read for ChildStderr {
|
|||||||
|
|
||||||
#[deprecated(note = "use std::process::Command instead")]
|
#[deprecated(note = "use std::process::Command instead")]
|
||||||
#[allow(deprecated, missing_docs)]
|
#[allow(deprecated, missing_docs)]
|
||||||
|
#[doc(hidden)]
|
||||||
pub struct Command {
|
pub struct Command {
|
||||||
inner: process::Command,
|
inner: process::Command,
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
@@ -456,12 +457,14 @@ pub struct Command {
|
|||||||
|
|
||||||
#[deprecated(note = "use std::process::Command instead")]
|
#[deprecated(note = "use std::process::Command instead")]
|
||||||
#[allow(deprecated, missing_docs)]
|
#[allow(deprecated, missing_docs)]
|
||||||
|
#[doc(hidden)]
|
||||||
pub struct Spawn {
|
pub struct Spawn {
|
||||||
inner: Box<Future<Item=Child, Error=io::Error>>,
|
inner: Box<Future<Item=Child, Error=io::Error>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[deprecated(note = "use std::process::Command instead")]
|
#[deprecated(note = "use std::process::Command instead")]
|
||||||
#[allow(deprecated, missing_docs)]
|
#[allow(deprecated, missing_docs)]
|
||||||
|
#[doc(hidden)]
|
||||||
impl Command {
|
impl Command {
|
||||||
pub fn new<T: AsRef<OsStr>>(exe: T, handle: &Handle) -> Command {
|
pub fn new<T: AsRef<OsStr>>(exe: T, handle: &Handle) -> Command {
|
||||||
Command::_new(exe.as_ref(), handle)
|
Command::_new(exe.as_ref(), handle)
|
||||||
@@ -533,6 +536,7 @@ impl Command {
|
|||||||
|
|
||||||
#[deprecated(note = "use std::process::Command instead")]
|
#[deprecated(note = "use std::process::Command instead")]
|
||||||
#[allow(deprecated)]
|
#[allow(deprecated)]
|
||||||
|
#[doc(hidden)]
|
||||||
impl Future for Spawn {
|
impl Future for Spawn {
|
||||||
type Item = Child;
|
type Item = Child;
|
||||||
type Error = io::Error;
|
type Error = io::Error;
|
||||||
|
|||||||
Reference in New Issue
Block a user