[][src]Crate pwn

Modules

fs

Asynchronous file and standard stream adaptation.

io

Traits, helpers, and type definitions for asynchronous I/O functionality.

net

TCP/UDP/Unix bindings for tokio.

prelude

A "prelude" for users of the tokio crate.

process

An implementation of asynchronous process management for Tokio.

runtime

The Tokio runtime.

signal

Asynchronous signal handling for Tokio

stream

Stream utilities for Tokio.

sync

Synchronization primitives for use in asynchronous contexts.

task

Asynchronous green-threads.

time

Utilities for tracking time.

Macros

join

Wait on multiple concurrent branches, returning when all branches complete.

pin

Pins a value on the stack.

select

Wait on multiple concurrent branches, returning when the first branch completes, cancelling the remaining branches.

task_local

Declares a new task-local key of type tokio::task::LocalKey.

try_join

Wait on multiple concurrent branches, returning when all branches complete with Ok(_) or on the first Err(_).

Functions

spawn

Spawns a new asynchronous task, returning a JoinHandle for it.

Attribute Macros

main

Marks async function to be executed by selected runtime.

test

Marks async function to be executed by runtime, suitable to test environment