书栈网 · BookStack 本次搜索耗时 0.021 秒,为您找到 343 个相关结果.
  • 何为Tokio

    何为Tokio 快速 零成本抽象 并发 非阻塞I/O 可靠 所有权和类型系统 背压 消除 轻量级 没有垃圾收集器 模块化 何为Tokio Tokio是一个事件驱动的非阻塞I / O平台,用于使用Rust编程语言编写异步应用程序。在较高的层面上,它提供了一些主要组件: 基于多线程,工作窃取的任务调度程序。 由操作系统的事件队列...
  • Hello Tokio

    628 2021-05-16 《Tokio v1.6 Tutorial》
    Hello Tokio The code Generate a new crate Add dependencies Write the code Breaking it down What is asynchronous programming? Compile-time green-threading Using async/await ...
  • What is Tokio?

    What is Tokio? Fast Zero-cost abstractions Concurrency Non-blocking I/O Reliable Ownership and type system Backpressure Cancellation Lightweight No garbage collector Modu...
  • tokio::select!

    659 2020-12-25 《Tokio v1.0 Tutorial》
    tokio::select! Cancellation The Future implementation tokio::select! The tokio::select! macro allows waiting on multiple async computations and returns when a single com...
  • Hello Tokio

    368 2020-12-25 《Tokio v1.0 Tutorial》
    Hello Tokio Hello Tokio We will get started by writing a very basic Tokio application. It will connect to the Mini-Redis server, set the value of the key hello to world . It w...
  • Tokio internals

    Introduction Runtime model Non-blocking I/O
  • I/O with Tokio

    I/O Overview Reading and Writing Data Using AsyncRead and AsyncWrite directly Implementing Async Read/Write Filesystem APIs Datagram APIs
  • I/O with Tokio

    I/O with Tokio Using the Future API Using the Poll API Datagrams I/O with Tokio The tokio crate comes with TCP and UDP networking types. Unlike the types instd , Tokio’...
  • Tokio与I/O

    I/O概叙 读写数据 Poll(轮询)APIs 直接使用AsyncRead和AsyncWrite 文件系统APIs Datagram APIs
  • Tokio与I/O

    Tokio与I/O 使用Poll API 数据报(Datagrams) Tokio与I/O tokio crate带有TCP和UDP网络类型。 与std中的类型不同,Tokio的网络类型基于轮询模型,并在其准备状态发生变化(接收数据并刷写写入缓冲区)时通知任务执行程序。 在tokio :: net模块中,您将找到TcpListener,TcpSt...