//! Contains the definition of the handler ID which is used for referencing
//! event handlers after registration.
use Rng;
/// The number of random bytes contained in a handler ID. This should be
/// sufficiently high to resist random as well as maliciously crafted
/// collisions.
pub const HANDLER_ID_BYTES: usize = 32;
/// An ID for an event handler that consists of random bytes. Uniqueness
/// depends on sufficient randomness in generation.