Docs.rs
  • cap-primitives-3.4.4
    • cap-primitives 3.4.4
    • Permalink
    • Docs.rs crate page
    • Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • sunfishcode
    • wasmtime-publish
    • Dependencies
      • ambient-authority ^0.0.2 normal
      • arbitrary ^1.0.0 normal optional
      • fs-set-times ^0.20.0 normal
      • io-extras ^0.18.3 normal
      • io-lifetimes ^2.0.0 normal
      • ipnet ^2.5.0 normal
      • maybe-owned ^0.3.4 normal
      • rustix-linux-procfs ^0.1.1 normal
      • rustix ^1.0.0 normal
      • windows-sys >=0.52, <=0.59 normal
      • winx ^0.36.0 normal
    • Versions
    • 100% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate cap_primitives

logo

cap_primitives3.4.4

  • All Items

Crate Items

  • Re-exports
  • Modules
  • Structs
  • Functions

Crates

  • cap_primitives

Crate cap_primitives

Source
Expand description

Capability-based primitives.

Re-exports§

pub use ipnet;

Modules§

fs
Filesystem utilities.
net
Networking utilities.
time
Time utilities.

Structs§

AmbientAuthority
Instances of this AmbientAuthority type serve to indicate that the ambient_authority function has been called, indicating that the user has explicitly opted into using ambient authority.

Functions§

ambient_authority
Return an AmbientAuthority value, which allows use of functions that include an AmbientAuthority argument.

Results

Settings
Help
    trait
    cap_primitives::fs::FileExt
    Unix-specific extensions to [fs::File].
    trait method
    cap_primitives::fs::FileExt::write_at
    &FileExt, &[u8], u64 -> Result<usize>
    Writes a number of bytes starting from a given offset.
    method
    cap_primitives::fs::FileExt::write_all_at
    &FileExt, &[u8], u64 -> Result<()>
    Attempts to write an entire buffer starting from a given …
    trait method
    cap_primitives::fs::FileExt::read_at
    &FileExt, &mut [u8], u64 -> Result<usize>
    Reads a number of bytes starting from a given offset.
    method
    cap_primitives::fs::FileExt::read_exact_at
    &FileExt, &mut [u8], u64 -> Result<()>
    Reads the exact number of bytes required to fill buf from …
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.