Crate agnostic_io

Crate agnostic_io 

Source
Expand description

Agnostic I/O

agnostic-io defines I/O traits in Sans-I/O style for any async runtime.

github LoC Build codecov

docs.rs crates.io crates.io license

§Introduction

agnostic-io defines I/O traits in Sans-I/O style for any async runtime.

§Installation

[dependencies]
agnostic-io = "0.1"
  • tokio::io compat

    agnostic-io = { version = "0.1", features = ["tokio"] }
§License

agnostic-io is under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE, LICENSE-MIT for details.

Copyright (c) 2025 Al Liu.

Modules§

futures_io
Asynchronous I/O.

Structs§

Error
The error type for I/O operations of the Read, Write, Seek, and associated traits.

Enums§

ErrorKind
A list specifying general categories of I/O error.

Traits§

AsyncRead
Marker trait for types that implement AsyncRead.
AsyncReadWrite
Marker trait for types that implement AsyncRead and AsyncWrite.
AsyncWrite
Marker trait for types that implement AsyncWrite.

Type Aliases§

Result
A specialized Result type for I/O operations.