pub unsafe fn queue_from_bytes_zero_copy_init(
data: &mut [u8],
capacity: usize,
sequence_threshold: usize,
) -> Result<HashSetZeroCopy<'_>>
Expand description
Casts the given account data to an HashSetZeroCopy
instance.
§Safety
This operation is unsafe. It’s the caller’s responsibility to ensure that the provided account data have correct size and alignment.