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

fx-handle

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

1 unstable release

new 0.1.0 Jan 15, 2025

#1 in #fx

Download history 77/week @ 2025-01-10

77 downloads per month
Used in fx-callback

Custom license

8KB
62 lines

FX-Handle

Build Version 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

~0.6–1.2MB
~25K SLoC