#handle #resources #identifier #unique #opaque #fx #identify

fx-handle

A unique opaque Rust handle which can be used as resource identifier

2 releases (1 stable)

1.0.0 Feb 1, 2025
0.1.0 Jan 15, 2025

#1 in #fx

Download history 95/week @ 2025-01-11 27/week @ 2025-01-18 1/week @ 2025-01-25 125/week @ 2025-02-01

248 downloads per month
Used in fx-callback

Custom license

7KB
63 lines

FX-Handle

Build Version Crates License: Apache-2.0 codecov

A unique opaque Rust Handle which can be used as resource identifier. This resource identifier is used within the FX landscape to identify resources.

Example

use fx_handle::Handle;

fn example() {
    let handle = Handle::new();
    println!("Generated Handle: {}", handle);
}

lib.rs:

Build Version Crates License: Apache-2.0 codecov

A unique opaque Rust Handle which can be used as resource identifier. This resource identifier is used within the FX landscape to identify resources.

Example

use fx_handle::Handle;

fn example() {
let handle = Handle::new();
println!("Generated Handle: {}", handle);
}

Dependencies

~2MB
~34K SLoC