Spec-Zone.ru › Tokio

Trait AsHandle

pub trait AsHandle {
    // Required method
    fn as_handle(&self) -> BorrowedHandle<'_>;
}
Available on docsrs and Unix and (crate features fs or net) only.

See std::os::windows::io::AsHandle

Required Methods

fn as_handle(&self) -> BorrowedHandle<'_>

See std::os::windows::io::AsHandle::as_handle

Dyn Compatibility

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors

impl AsHandle for ChildStderr

Available on Windows and crate feature process only.

impl AsHandle for ChildStdin

Available on Windows and crate feature process only.

impl AsHandle for ChildStdout

Available on Windows and crate feature process only.

impl AsHandle for File

Available on Windows and crate feature fs only.

impl AsHandle for NamedPipeClient

Available on Windows and crate feature net only.

impl AsHandle for NamedPipeServer

Available on Windows and crate feature net only.

impl AsHandle for Stderr

Available on Windows and crate feature io-std only.

impl AsHandle for Stdin

Available on Windows and crate feature io-std only.

impl AsHandle for Stdout

Available on Windows and crate feature io-std only.

MIT License
Copyright © Tokio Contributors
https://docs.rs/tokio/1.53.1/tokio/doc/os/windows/io/trait.AsHandle.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API